On 12.2.2012 11.51, Eero Volotinen wrote:
Check logs for sshd deamon first. It usually gives explanation about issue.
Damn, that was simple. /var/log/secure tells it in plain language:
Authentication refused: bad ownership or modes for directory /var/www/railsdev
(that is the home dir for the user git). The perms were: $ ls -ld /var/www/railsdev drwxrws--- 5 git apache 4096 Feb 12 10:52 railsdev/
I did chmod g-w, and the key auth started to work! Thanks.
- Jussi