Hands-on task
SSH keys done right
User alice needs SSH key access. Generate her an ed25519 pair in /home/alice/.ssh/id_ed25519 (without a passphrase), add the public key to her authorized_keys, and set the permissions that SSH actually accepts: 700 on .ssh, 600 on the files, everything owned by alice.
- ssh-keygen
- ed25519
- authorized_keys
- ssh permissions
- chmod/chown