Skip to content

Security

SSH

SSH hardening

Policy

SOVIEZ_SSH_POLICY defaults to staged: SSH hardening is applied in careful steps so you don't lose access.

Safety

  • Hardening may be postponed if Soviez detects a risk of locking you out
  • Fail2Ban protects against password-guessing
  • Don't turn off SSH access without another way into the server, such as your provider's console

If hardening was postponed

Read the security report (soviez.sh --security-report), make sure you have another way in, then run soviez.sh --security-harden deliberately.