I am trying to setup gitolite on my server (Macos server).
I followed the instructions in the INSTALL document found here : http://sitaramc.github.com/gitolite/doc/1
Having just dealt with this for a third time after forgetting the first two times, I figure it can't be unusual.
$ git clone git@hugo:gitolite-admin
Cloning into gitolite-admin...
fatal: The remote end hung up unexpectedly
At least one reason for this is that the gitolite user must have a login shell - making a system user won't work for some reason.. it just falls over, causing the error above.
Also, for the ssh test, you must switch off PTYs on the command line otherwise ssh simply won't work - I think maybe it worked with older versions of ssh but doesn't on anything I have:
$ ssh git@hugo
PTY allocation request failed on channel 0
$ ssh -T git@hugo
hello key, this is git@hugo running gitolite3 v3.01-10-g699bafa on git 1.7.10
(why it thinks I'm called 'key' is another config issue I haven't solved yet).