I had this problem as well.  Git uses SSH for authentication.

Check the output of the following command:

grep "AllowUsers" /etc/ssh/sshd_config

If "AllowUsers" is present in the SSH daemon config, make sure you
include the "git" user.

eg: My "/etc/ssh/sshd_conf" file contained this line:
AllowUsers vortexcortex

I edited the file via this command:
gksudo gedit /etc/ssh/sshd_conf

Then, I changed the AllowUsers line to read:
AllowUsers vortexcortex git

I saved the file, quit the editor and finally restarted my SSH daemon:
sudo /etc/init.d/ssh restart

(I have also had success via removing the AllowUsers line completely)

-- 
Password request when trying to clone gitosis-admin.git
https://bugs.launchpad.net/bugs/502093
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to