Linux server hardening checklist

A new VPS with a public address gets its first SSH password guesses within minutes. Most break-ins on small servers still come from the same few gaps: password logins, missing updates, a forgotten service listening on the internet, and nobody reading the logs. This checklist closes them in the order that matters most.

1. SSH

2. Updates

3. Network

4. Users and permissions

5. Logs and monitoring

Measure it

The CIS Benchmarks are the standard detailed checklist for each distribution, with Level 1 for settings that rarely break anything and Level 2 for stricter ones. Score a server before and after a hardening session so you can see what changed.

Where Vigilhold fits

Vigilhold is a hosted security agent for Linux servers and Docker hosts. It reports SSH settings, listening ports, known vulnerabilities in installed packages and pending reboots, scores CIS Level 1 and 2 from what it sees, and watches for changes like those in step 5 as they happen. It responds only within limits you set and asks a person before changing SSH settings.

Checked in November 2026: OpenBSD sshd_config manual, Debian wiki: UnattendedUpgrades, CIS Benchmarks, Docker docs: Docker and ufw.

Vigilhold vs fail2ban · Vigilhold vs CrowdSec · Vigilhold vs Wazuh · Start a 14-day free trial