I installed Gitosis in a remote Ubuntu field, which I will call linuxserver as my host in the following commands. I also connect from a Windows window using Cygwin.
I followed the instructions as per: http://scie.nti.st/2007/11/14/hosting-git-repositories-the-easy-and-secure-way
I had no problems until I needed to clone the gitosis-admin repository to my local machine
git clone git@linuxserver :gitosis-admin.git
When I do this, the command is executed, but it hangs there, not displaying anything, until I return to the ctrl-c command line. Messages are not displayed at all.
I am sure that I have installed my ssh keys correctly, because logging in using "ssh linuxserver" in my regular account works fine without asking for a password.
Edit: On the weekend, I installed an almost identical Ubuntu box at home and had no problems setting up Gitosis. The only difference was that I was connecting from OSX instead of Cygwin.
Edit: I also found that when using the Bash shell provided with "Git Extensions" I have no problems, so the problem definitely seems to be a kind of Cygwin conflict.
Edit: Just an update, but a month after posting this question, I switched to Mercurial and found that I prefer it a lot more than git. Thanks for the suggestions, but I do not plan to return to git to try any of them.
source share