Back to Articles
Security
8 min reading time

Linux Hardening Checklist for a New VPS

Orihost Icon
Orihost
Posted by
April 29, 2026
Date Published
Linux Hardening Checklist for a New VPS

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

ControlEffortSecurity Impact
Disable password SSHLowHigh
Firewall default denyLowHigh
Automatic security patchesLowHigh
IDS/EDR agentMediumMedium-High
Kernel hardening profilesMediumMedium

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. If you want a server to harden yourself, every Orihost VPS is a KVM machine with full root access and a dedicated IPv4.

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.

LinuxVPSHardening

Need a professional setup?

Join the developers who run their bots, sites and servers on Orihost. Plans from €1/month, live in minutes.