Hands-on task
Authorize a Public Key
A colleague needs to log into this server over SSH. Their public key is in /root/given.pub. Allow login with this key for the user root by adding it to the right file. root already has one authorized key — it must keep working. And check the permissions: sshd won't accept keys if they are too open.
- authorized_keys
- ssh
- public keys
- appending to a file