Cannot logged in with public key even after public key inside $HOME/.ssh on Centos

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.


Comments

Popular posts from this blog

Panduan Bas Ekspres Kuala Lumpur (TBS) - Skudai

Cara Renew Passport Pembantu Rumah di Kedutaan Indonesia 2015