Things could be straight with Ubuntu, but not in my Centos VPS. So try the following if you met the same problem:
1) $HOME/.ssh/authorized_keys must be in 640 permission
2) $HOME/.ssh must be in 0700 permission
It should work right away later on.
1) $HOME/.ssh/authorized_keys must be in 640 permission
2) $HOME/.ssh must be in 0700 permission
It should work right away later on.
Comments