Mar 16, 2009

File security for the ssh-key files in CentOS

Lets assume that you already have a file with your key copied in the right place.

chmod 700 ~/.ssh
chmod 600 ~/.ssh/authorized_keys