Search code examples
gitversion-controlgitolite

gitolite users cannot connect


I've got an issue with other users being able to connect to my gitolite server.

Everything is working fine on my end (I'm the admin and also did the gl-easy-install) - however, I've requested a pub from another user and added it to the keydir, along with adding their permissions to the gitolite-admin repo in the conf file. I git add and commit those files, and push them back up to the gitolite server. Everything looks good.

I told the user to try git clone [email protected]:gitolite-admin.git and they get a permission error. The command hooks are in the git user's authorized_keys file, so I'm a little confused as to what I'm missing.

I saw in some other answers that the correct address to use is [email protected]:gitolite-admin.git, but based on the authorized_keys file, that doesn't seem at all correct.

Help is much appreciated, thanks for your expertise!


Solution

  • do a ssh -vvvv [email protected] on your machine. You will see what keys are offered. Now do the same on this user's machine. Also please post your config file for gitolite and if you have them, the ~/.ssh/config files if you guys have them. Replace your any sensitive repo with something generic.

    (upvoted your question)