Lesson 17 of 20 · Security
Hardened SSH and fail2ban on Ubuntu
Objective
Make the SSH access of an Ubuntu server exposed to the Internet robust: login by key only, root forbidden, a list of allowed accounts, and automatic banning of the bots that try passwords.
This lesson is part of the full course
Unlock Ubuntu Server Administration (20.04 to 24.04 LTS) to read every lesson, do the exercises, access the simulations and earn your certificate.
Already enrolled? Log in.