SSH File and Folder Permissions


Published on October 25, 2019 by John Ward

0 min READ

Here are the file permissions of the files in your ~/.ssh folder, as well as the .ssh folder itself.

SSH File Permissions:

  • 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