Gitosis on Mac OS X (Snow Leopard)

Posted by Shyam on Server Fault See other posts from Server Fault or by Shyam
Published on 2010-05-12T17:49:06Z Indexed on 2010/05/12 17:54 UTC
Read the original article Hit count: 346

Filed under:
|
|
|

Hi,

I have a Snow Leopard box, where I have gitosis installed (Warning: noob alert), added a git user and I am able to remotely login to the machine with ssh. Locally, I can 'clone' my created repositories, as I can 'clone' the gitosis-admin too. Works perfect.

I clone these using the 'git' user.

git clone git@my-remote-machine:reponame.git

remotely logged in, what doesn't work:

git clone git@localhost:reponame.git

However on that same remote machine where the repositories live, I can't clone from the localhost. It asks for a password, which wasn't created as far as I know. What am I doing wrong?

Thank you for your replies!

© Server Fault or respective owner

Related posts about git

Related posts about gitosis