Details

Hello,

after installing openssh 5.4p1 I noticed my public key no longer works. I switched the LogLevel to DEBUG and found the following:



debug1: trying public key file //.ssh/authorized_keys

...

Failed publickey for anrxc from 127.0.0.1 port 43457 ssh2





The default sshd_config file has the setting:

#AuthorizedKeysFile .ssh/authorized_keys



(my own has it uncommented)



The sshd_config manual page says the default is:

.ssh/authorized_keys



But it seems that in 5.4 it is no longer relative to the user home and I had to change it to:

AuthorizedKeysFile %h/.ssh/authorized_keys



I see the arch PKGBUILD modifies some settings in the sshd_config file. Maybe this one should be changed too, I leave that for your consideration - note that _I_ found no documentation related to this change.