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
No comments:
Post a Comment