Chapter 10: Secure remote access
SSH quiz
Ten questions across the whole chapter. Each answer explains why. Aim for eight before moving on to chapter 11.
- What does the "Are you sure you want to continue connecting?" prompt ask you to verify?
- Which pair of files makes a key login work?
- What permissions must ~/.ssh and authorized_keys have?
- Which command copies a directory tree to a server, sending only changes next time?
- How do you give a host a short name with its user and key?
- Where do you put a hardening change for sshd?
- Which command checks the configuration syntax?
- After editing the sshd configuration, you should ...
- A host key changed because the server was rebuilt. How do you update your known_hosts?
- Which setting stops password guessing completely?