Debian Administration (Debian 11 to 13)
Exit

Lesson 18 of 20 · Security

Hardened SSH and fail2ban on Debian

45 min Debian 12 Versions 11, 12, 13

Objective

Make the SSH access of a Debian server exposed to the Internet resistant to password-guessing attacks: login by key only, root forbidden, a limited set of allowed accounts, and automatic banning of the addresses that keep trying, with fail2ban.

This lesson is part of the full course

Unlock Debian Administration (Debian 11 to 13) to read every lesson, do the exercises, access the simulations and earn your certificate.

Already enrolled? Log in.