On my Mac, I created an RSA key with ssh-keygen -t rsa
and saved it as .ssh/authorized_keys
on the target server (Ubuntu).
I put this in server's /etc/ssh/sshd_config
:
PubkeyAuthentication yes
RSAAuthentication yes
and restarted SSH. However, it ignores the key. What's wrong?