Hands-on task
Harden sshd
Harden the SSH server settings (/etc/ssh/sshd_config and everything it includes): disable password login (keys only) and forbid root superuser login. The effective values of both settings must end up "disabled".
- sshd_config
- sshd directives
- first occurrence
- sshd -T
- server hardening