SEC.01
The playbook
The run starts read-only: the recon probes decide what happens next. The steps that follow are adapted to the distribution and state found — a real machine is rarely clean.
- 01reconthe current SSH config
- 02recondo any authorized keys exist? (otherwise DO NOT disable passwords)
- 03reconis the SSH config valid before touching it?
- 04actBack up sshd_configverify
- 05actDisable root + passworddestructiveverify
- 06actReload sshddestructiveverify
SEC.02
What it verifies
Each step ships its own check. The run only moves on when the check passes, so what the recipe reports as done is what is actually on the server.
- 01verifyBack up sshd_configVerified by
ls /etc/ssh/sshd_config.bak.* - 02verifyDisable root + passwordVerified by
sshd -t 2>&1 && echo ok - 03verifyReload sshdVerified by
systemctl is-active ssh || systemctl is-active sshd
SEC.03
Variables
What you choose before launching — the recipe fills in the rest.
| Name | Meaning |
|---|---|
| ${port} | SSH port |
SEC.04
How a recipe runs in Servor
Servor is zero-knowledge: the platform cannot execute anything on its own. When you launch this recipe, a run reads the reconnaissance, plans the steps and asks for your approval. Each approved command is signed by your browser — with a key the server never sees — then relayed verbatim to the agent, which verifies the signature locally before executing.
search by intent — type “firewall”, get ufw
- 01Read-only reconnaissance before any change
- 02Every command signed by your browser, approved by you
- 03Each step verified before the run moves on, every run kept in the history
SEC.05
More security recipes
- 01fail2banfail2ban with the SSH jail, active and verified.
- 02UFW firewallUFW: deny incoming by default, allow SSH + chosen ports. Destructive: keeps SSH open.
- 03Automatic security updatesEnables automatic security updates (unattended-upgrades).
- 04CrowdSecCrowdSec collaborative IPS + firewall bouncer.
- 05ClamAVClamAV antivirus with an up-to-date signature database.
Verified recipe
Run this recipe on your server
Connect a server, launch the recipe, and approve each step as Servor executes and verifies it. Free plan, no card required.