Correct permission to .ssh config files

Correct file permissions for ssh keys and config.

chmod 700 ~/.ssh

chmod 644 ~/.ssh/authorized_keys

chmod 644 ~/.ssh/known_hosts

chmod 644 ~/.ssh/config

chmod 600 ~/.ssh/id_rsa

chmod 644 ~/.ssh/id_rsa.pub

chmod 600 ~/.ssh/github_rsa

chmod 644 ~/.ssh/github_rsa.pub

chmod 600 ~/.ssh/mozilla_rsa

chmod 644 ~/.ssh/mozilla_rsa.pub

Leave a Reply

Your email address will not be published. Required fields are marked *.

*
*