Re: [CentOS] Key auth question

2012-02-12 Thread Jussi Hirvi
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

Re: [CentOS] Key auth question

2012-02-12 Thread Eero Volotinen
2012/2/12 Jussi Hirvi : > I have a problem getting key authentication to work with one remote user > (git), even though it works fine for the remote user "root". The remote > file .ssh/authorized_keys is identical for both users - I cp'ed it from > the root account to the git home dir. > > On local

[CentOS] Key auth question

2012-02-12 Thread Jussi Hirvi
I have a problem getting key authentication to work with one remote user (git), even though it works fine for the remote user "root". The remote file .ssh/authorized_keys is identical for both users - I cp'ed it from the root account to the git home dir. On local machine (OS X, by the way) I ha

[CentOS] Key auth question

2012-02-12 Thread Jussi Hirvi
I have a problem getting key authentication to work with one remote user (git), even though it works fine for the remote user "root". The remote file .ssh/authorized_keys is identical for both users - I cp'ed it from the root account to the git home dir. On local machine (OS X, by the way) I ha