gitosis always asks for git password

Posted by Cylindric on Server Fault See other posts from Server Fault or by Cylindric
Published on 2010-03-26T13:55:54Z Indexed on 2010/03/26 14:03 UTC
Read the original article Hit count: 376

Filed under:
|

I've just followed the simple gitosis install instructions on an Ubuntu server, such as these http://blog.agdunn.net/?p=277

On the server I log in as "mark", and into /home/mark/.ssh/ I copied my keyfiles id_rsa and id_rsa.pub from my laptop.

I used that id_rsa.pub when initialising the gitosis stuff, and can happily connect locally when logged in as 'mark'.

From my laptop though, where I have the same keys, I can't connect. I just get an error:

git clone git@support:gitosis-admin.git
Initialized empty Git repository in u:/gitosis-admin/.git
fatal: The remote end hung up unexpectedly

The server is Ubuntu 9.04, the client is a Win7 laptop with Cygwin and WinSysGit.

© Server Fault or respective owner

Related posts about git

Related posts about gitosis