SSH as root using public key still prompts for password on RHEL 6.1
- by Dean Schulze
I've generated rsa keys with cygwin ssh-keygen and copied them to the server with
ssh-copy-id -i id_rsa.pub root@my.ip.address
I've got the following settings in my /etc/ssh/sshd_config file
RSAAuthentication yes
PubkeyAuthentication yes
AuthorizedKeysFile .ssh/authorized_keys
PermitRootLogin yes
When I ssh root@my.ip.address it still…