Linux server hardening baseline for Ubuntu 24.04 and RHEL 9: SSH, firewall, updates, audit
A practical baseline we apply to every new Ubuntu 24.04 and RHEL 9 server: key-only SSH that cloud-init cannot silently undo, ufw or firewalld default deny, automatic security updates, fail2ban, auditd watches, and a CIS scan to find what we missed.