Maintain Secure Shell
Key File Permissions
To maintain an
appropriate level of security, configure Secure Shell (SSH) key file
permissions.
- View the public host key files, located in/etc/ssh/*key.pub.
- Verify that these files are owned by root, that the group is owned by root, and that the files have permissions set to 0644.The permissions are (-rw-r--r--).
- Close all files.
- View the private host key files, located in/etc/ssh/*key.
- Verify that root owns these files and the group, and that the files have permissions set to 0600.The permissions are (-rw-------).
- Close all files.