Cannot get git working

Posted by Devin Dixon on Server Fault See other posts from Server Fault or by Devin Dixon
Published on 2012-06-06T16:37:32Z Indexed on 2012/06/06 16:42 UTC
Read the original article Hit count: 459

Filed under:
|
|
|

I'm trying to install my own git server with these instructions.

http://cisight.com/how-to-setup-git-server-using-gitolite-in-ubuntu-11-10-oneiric/

But I am get stuck at this point.

git clone --verbose  [email protected]:testing.git
Cloning into 'testing'...
Permission denied (publickey).
fatal: The remote end hung up unexpectedly

And I think it has something to do with this:

gitolite@ip-xxxx:~$ gl-setup tmp/john.pub 

key_read: uudecode Aklkdfgkldkgldkgldkgfdlkgldkgdlfkgldkgldkgdlkgkfdnknbkdnbkdnbkdnbkfnbkdfnbkdnfbkdfnbdknbkdnbkfnbkdbnkdbnkdfnbkd [email protected]
 failed
fprint failed

I always get the fail and I think its preventing me from cloning repo.The repo is there along with gitolite-admin.git repo. The permissions are this:

drwxr-x--- 8 gitolite gitolite 4096 Jun  6 16:29 gitolite-admin.git
drwxr-x--- 7 gitolite gitolite 4096 Jun  6 16:29 testing.git

So my question is what am I missing here?

© Server Fault or respective owner

Related posts about ssh

Related posts about git