Hands-on task
Fix permissions on ~/.ssh
SSH refuses to work with keys because the directory /root/.ssh and the file /root/.ssh/authorized_keys have permissions that are too open (currently accessible to everyone). Bring them to safe values: the .ssh directory — owner only (700), the authorized_keys file — read/write for owner only (600).
- chmod
- permissions
- octal masks
- ssh
- key security