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

Review Huawei Nova 2i, fon dual-camera terbaik pada harga yang berbaloi

Panduan Bas Ekspres Kuala Lumpur (TBS) - Skudai