Reputation: 3064
I can't configure SSH key-authentication on my new VDS server. After I've done ssh-copy-id
I still get password prompt for user.
To debug I added LogLevel DEBUG3
in /etc/ssh/sshd_config
and restarted systemctl restart sshd
and saw in logs /var/log/secure
this message:
RSA key is not allowed
Why does this happen and how do I fix it?
Upvotes: 6
Views: 5812