Ubuntu Hardening
Lock down a fresh Ubuntu VPS without risking your access — even if it's your first time.Most hardening scripts run silently and leave you hoping nothing broke. This script is different: it guides you step by step, generates your SSH key for you, verifies that you can log in before disabling root access, and automatically rolls back if the port change fails.Tested on multiple clean installs. Ubuntu 22.04, 24.04 and 26.04 supported.⚠️ For fresh servers only — never run on a live production server you can't afford to lose access to.What's covered in 10 guided steps: ✅ Safe user + SSH key creation (with on-screen key display and setup instructions) ✅ SSH hardening — custom port, root disabled, key-only auth ✅ UFW firewall — deny-all by default ✅ Fail2Ban — 24h auto-ban after 3 failed attempts ✅ Kernel hardening via sysctl ✅ Automatic security updates ✅ Rollback if SSH port verification fails ✅ Optional Lynis security audit ✅ Full README with commands for Linux, macOS and Windows
Get it → gumroadian2345.gumroad.com