server-hardening-playbook
A guide to finding, fixing, and verifying security issues on Linux servers.
What does it do?
Operators can run a short initial check, then go to the detailed section for any issue they find. Each item includes an example of how a server can be exposed, a command to fix it, and a command to verify the change. The document recommends checking accessible services and interfaces first and also provides a condensed, one-page CHECKLIST.md. The commands mainly assume Debian or Ubuntu and root or sudo privileges.
Key features
- Review SSH, firewalls, service binding, secrets, and database authentication
- Failure examples, fix commands, and verification commands for each security item
- 10-minute initial check and a one-page checklist
- Command guidance for Debian and Ubuntu servers