I am trying to install git and gitolite for our development on a CentOS linux server. Everything has so far gone fine, except that I define the admin user for the githolite with this command:
gitolite setup -pk /tmp/id_rsa.pub FATAL: errors found but logfile could not be created FATAL: /home/git/.gitolite/logs/gitolite-2013-05.log: No such file or directory FATAL: die '/tmp/id_rsa.pub' does not seem to be a valid ssh pubkey file
It seems like two mistakes; in /home/git/ there are only these files
.gitolite.rc .bashrc .bash_profile .bash_logout
And secondly (which seems like a problem) that pub_key is invalid. However, according to the git book, the file looks the same. I created it like this:
ssh-keygen.exe
(default path)
(no password)
(no password)
I copied the generated .pub file to the tmp directory on the server using WinSCP.
What I do? I did not find the answer on google.
PS. If you need more information, please let me know.
Roger source share