Gitolite users cannot connect

I have a problem with other users who can connect to my gitolite server.

Everything works fine at my end (I am an administrator, and also did gl-easy-install)), however I asked pubfrom another user and added it to keydir, as well as adding their relay permissions gitolite-adminin the file conf. me git addand committhese files as well push- back to the gitolite server. Everything looks good.

I asked the user to try git clone git@server.com:gitolite-admin.gitand get a permission error. Command interceptors are in the git user file authorized_keys, so I'm a little confused about what is missing.

In some other answers, I saw that the correct address to use is - user@server.com:gitolite-admin.gitbut based on a file authorized_keysthat does not look absolutely correct.

Help is greatly appreciated, thanks for your experience!

+3
source share
3 answers

run ssh -vvvv git@gitserver.comon your computer. You will see which keys are offered. Now do the same on this user machine. Also, please write your configuration file for gitolite, and if you have them, ~ / .ssh / config files, if you have them. Replace your sensitive repo with something in common.

(confirmed your question)

+6
source

.ssh. , (400). , , .ssh , root . , :

$ ls -ld . home home/prentice home/prentice/.ssh/
drwxr-xr-x 22 root     root     4096 2011-04-28 09:47 .
drwxr-xr-x  4 root     root     4096 2010-11-17 22:19 home
drwxr-xr-x 75 prentice prentice 4096 2011-06-15 13:56 home/prentice
drwx------  2 prentice prentice 4096 2011-04-20 08:07 home/prentice/.ssh/

ssh , . authorized_keys. ( , ), ssh .

+3

, , , rsa..,

: root gitolite-admin, sudo, woudnt ..,

0

All Articles