Security/GitHub/Tool
harden-vps
by Amit-Roy·Last observed 2026-10-26
★ 0 stars⑂ 0 forks
Harden-vps is an installer for hardening fresh Debian or Ubuntu VPS servers. It configures firewall and SSH protections, security updates, and monitoring or scanning modules, with a preview mode and a firewall rollback that can be confirmed from a new SSH session.
Useful for
- Apply selected security hardening modules to a fresh Debian VPS, then confirm the firewall from a second SSH session.
Key features
- The installer configures server hardening modules including a default-deny firewall, key-only SSH, fail2ban, security updates, and optional monitoring and scanning.
- A dry run previews changes, and firewall changes use an automatic rollback unless confirmed from a new SSH session.
Requirements & limitations
- Targets Debian 12 and 13; Ubuntu support is best-effort and untested.
- Add an SSH public key before installation; the installer refuses to disable password access without one.
Discussion
No comments yet.
Sign in with Google to comment. Browsing is open to everyone.