~/tools/server-hardening-checklist$
Check your Ubuntu server against every hardening guide we tested: one command per step shows it is done, with the output a fresh test server printed.
Published
0 of 5 done
Your ticks are kept only in this browser. Nothing is sent anywhere.
A mistake typed as root changes anything on the server at once; sudo asks first and logs every admin command.
Run this on your server. A server where this is done prints what our test server printed:
$ groups deploydeploy : deploy sudo usersOutput from a fresh Ubuntu 26.04.1 test server, run on .Run log
Not done? How to create a sudo user on Ubuntu 26.04 and 24.04Bots try passwords on every server all day; with keys only, a guessed password opens nothing.
Run this on your server. A server where this is done prints what our test server printed:
$ sudo sshd -T | grep -i "^passwordauthentication"passwordauthentication noOutput from a fresh Ubuntu 26.04.1 test server, run on .Run log
Not done? How to set up SSH key login on Ubuntu 26.04 and 24.04A service you install later and forget cannot be reached from the internet unless you open its port.
Run this on your server. A server where this is done prints what our test server printed:
$ sudo ufw status verboseStatus: activeLogging: on (low)Default: deny (incoming), allow (outgoing), disabled (routed)New profiles: skip To Action From-- ------ ----22/tcp (OpenSSH) ALLOW IN Anywhere22/tcp (OpenSSH (v6)) ALLOW IN Anywhere (v6)Output from a fresh Ubuntu 26.04.1 test server, run on .Run log
Not done? How to set up a UFW firewall on Ubuntu 26.04 and 24.04An address that keeps failing to log in is banned for a while, so the guessing stops and your logs stay readable.
Run this on your server. A server where this is done prints what our test server printed:
$ sudo fail2ban-client statusStatus|- Number of jail: 1`- Jail list: sshdOutput from a fresh Ubuntu 26.04.1 test server, run on .Run log
Not done? How to install fail2ban on Ubuntu 26.04 and 24.04 to protect SSHMost break-ins use holes that already have a fix; a server that installs security updates every day closes them without you.
Run this on your server. A server where this is done prints what our test server printed:
$ cat /etc/apt/apt.conf.d/20auto-upgradesAPT::Periodic::Update-Package-Lists "1";APT::Periodic::Unattended-Upgrade "1";Output from a fresh Ubuntu 26.04.1 test server, run on .Run log
Not done? How to turn on automatic security updates on Ubuntu 26.04 and 24.04~/tools/server-hardening-checklist$cat how-to-use
Log in to your server and run the check under each step. When your server prints what our test server printed, the step is done: tick it. When it does not, open the guide under it and follow it; each guide was run on a fresh server before it was published.
Your ticks stay in this browser, so you can come back later. Copy or download the report to keep a record of the server, or to send it to a client.
The list grows by itself: each new hardening guide adds its step on the day it goes live.
~/tools/server-hardening-checklist$cat proof
Nothing on this list is written from memory. Each check is a command from its guide, shown with the output a fresh Ubuntu test server printed after the guide’s steps. Every guide was run on Ubuntu 26.04 and 24.04, each on its own fresh server:
5 guides, each run on a fresh server per release.
Ubuntu 26.04.1: passed all 28 checksRun log
Ubuntu 24.04.5: passed all 28 checksRun log
Ubuntu 26.04.1: passed all 24 checksRun log
Ubuntu 24.04.5: passed all 24 checksRun log
Ubuntu 26.04.1: passed all 53 checksRun log
Ubuntu 24.04.4: passed all 53 checksRun log
Ubuntu 26.04.1: passed all 32 checksRun log
Ubuntu 24.04.4: passed all 38 checksRun log
Ubuntu 26.04.1: passed all 33 checksRun log
Ubuntu 24.04.5: passed all 34 checksRun log