Has any one tryied the easy install option of gitolite?
I am trying to install gitolite from my windows (workstation ) to a solaris box.
[command used to ins
I did precisely the same installation (Windows to Solaris), and it is worth it.
I did it:
$HOME
correctly set (i.e. referencing a directory where my .ssh
public/private keys are stored, including the one for the user present on the Solaris server side)This can occur if on the server, the git
user has a key in ~/.ssh/authorized_keys
for the remote user that is not prefixed with the command
variable:
% cat ~/.ssh/authorized_keys
ssh-rsa ...... user@host
# gitolite start
command="/home/gituser/.... user@host
# gitolite end
%
Just remove the first line and you're good to go.
We fixed this by reading the https://github.com/sitaramc/gitolite/blob/pu/doc/ssh-troubleshooting.mkd document. Specifically the section that mentions that we did not heed the instructions. "These problems happen to the person who has utterly failed to read/heed the message that shows up at the end of running the gl-easy-install" Remove all files. Re-run the install, and HEED the instructions :)
Most of times, this seems to be because ssh doesn't pass the right public key to use to gitolite. Cf. "Does Not Appear to be a Git Repository". A comment in this article links to the gitolite author's website, especially to the 'Appendix #2', which explains how to know "which key is which".