I Recently installed gitweb onto our gitosis source code repo server..
(Ubuntu 10.04 LTS Server)
Somewhere along the line i changed something i shouldn't have and whenever attempting to clone from or do anything with gitosis.. i get the following message:
Permission denied (publickey)
Which i believe to be an issue with ssh and my rsa keys..
on further inspection of the /var/log/auth.log file i discovered a lot of mention of an issue with the permissions on the /user/.ssh/ directory (it was too open):
Authentication refused: bad ownership or modes for directory /user/.ssh/
so after googling it i ran the following commands to remedy..
chmod 755 userfolder chmod go-w userfolder
chmod 700 .ssh
chmod 600 authorized_keys
Now their are no more mentions of this in the auth.log however it is still denying my public key... how can i fix this??