Showing posts with label Permissions for .ssh directory and authorized_keys file. Show all posts
Showing posts with label Permissions for .ssh directory and authorized_keys file. Show all posts

Friday, June 14, 2013

Permissions for .ssh directory and authorized_keys file

Permissions for .ssh directory and authorized_keys file

The permission for directory .ssh should be 700. It means drwxr_xr_x
# chmod 700 ~/.ssh

The permission for file authorized_keys should be 600. 
It means -rw_____
# chmod 600 ~/.ssh/authorized_keys