I have set up passwordless ssh authentication (via authorized_keys) numerous times successfully and with ease, usually on servers that did not have any custom ssh-related configuration changes prior to that.
Now I need to set it up on a CentOS server where another person previously disabled this feature due to "security concerns" expressed by an ill-informed manager. That person is no longer available and I cannot figure out how to make this work.
I have this in the sshd_config:
RSAAuthentication yes
PubkeyAuthentication yes
AuthorizedKeysFile %h/.ssh/authorized_keys
UsePAM yes
There are other settings, but I thought they did not make a difference. Any suggestions what I should check to make this work?