So I did a little search on Google and here is a perfect answer:
http://askubuntu.com/questions/110814/server-keeps-asking-for-password-after-ive-copied-my-ssh-public-key-to-authoriz
Solution:
- look at /var/log/secure (CentOS) for detail log and reasons.
- change .ssh/authorized_keys's permission to 600 (owner read/write only)
No comments:
Post a Comment