I'm setting up gitolite for first time. I'm following this instructions.
When I ssh, it looks fine:
$ ssh -p 2222 gitolite@debian PTY allocation request failed on channel 0 hello gitolite, this is gitolite@debian running gitolite3 v3.5.3.1-1-gf8776f5 on git 1.7.2.5 R W gitolite-admin R W testing Connection to debian closed.
But when trying to clone, it gives me the following error:
$ git clone ssh://gitolite@debian:2222/home/gitolite/repositories/gitolite-admin.git Cloning into 'gitolite-admin'... FATAL: R any home/gitolite/repositories/gitolite-admin gitolite DENIED by fallthru (or you mis-spelled the reponame) fatal: The remote end hung up unexpectedly
I'm trying to clone from yasin@vonneumann account. I uploaded this user RSA public key to debian server, renamed it to gitolite.pub
and ran gitolite setup -pk gitolite.pub
with no messages or errors. Then at yasin@vonneumann host I created a file at ~/.ssh/config
with the following content:
host debian user gitolite hostname debian identityfile ~/.ssh/gitolite
(I also copied id_rsa
as gitolite
at vonneumann)
I found this question to be similar, but the answers did not work for me.
Any help appreciated, thanks.