← back to flaviocopes.com

SSH hardening checklist & sshd_config generator

← All tools

Work through SSH hardening steps on your VPS, then generate a matching sshd_config snippet. Checklist progress is stored in the URL — bookmark or share with your team.

~~~
Checklist: / done

All checklist items done — your SSH surface is in good shape.

~~~

sshd_config generator

Toggle options below to build a snippet you can merge into /etc/ssh/sshd_config. This is separate from the checklist — use it to preview config before you apply changes.

Generated snippet

Validate & reload

~~~

About this tool

SSH is often the front door to your VPS. Keys-only auth, no root login, and a tested config beat any port-scan obscurity. This checklist covers the steps worth doing on every server; the generator outputs the sshd_config lines that match your choices.

Nothing leaves your browser. Checklist progress and generator toggles live in the URL query string.

~~~

Read more