Back to Articles

Security
8 min reading time
Linux Hardening Checklist for a New VPS
Orihost
Posted by
April 29, 2026
Date Published
New VPS, High Risk by Default
Fresh servers often ship with permissive defaults. Hardening before deployment dramatically reduces compromise risk.
Phase 1: Access Hardening
- Disable root SSH login.
- Disable password auth; require SSH keys.
- Restrict SSH to trusted source IPs where possible.
- Install fail2ban or equivalent brute-force controls.
Phase 2: Network and Patch Baseline
- Set deny-by-default inbound firewall policy.
- Open only required application ports.
- Enable unattended security updates.
- Remove unused packages/services.
Control Priority Table
| Control | Effort | Security Impact |
|---|---|---|
| Disable password SSH | Low | High |
| Firewall default deny | Low | High |
| Automatic security patches | Low | High |
| IDS/EDR agent | Medium | Medium-High |
| Kernel hardening profiles | Medium | Medium |
Where Orihost Fits Naturally
If you prefer spending time on your app instead of constant baseline maintenance, moving workloads to managed-friendly plans like Orihost services can reduce operational burden while keeping clear upgrade paths.
Phase 3: Recovery Readiness
Backups are part of security. Test restore procedures regularly and document RTO/RPO targets so incidents become recoverable events, not business failures.