host-hardening
Installation
SKILL.md
Host Hardening
Secure a Linux server running OpenClaw in under 2 minutes.
SSH — Key-Only Auth
sed -i 's/^#*PermitRootLogin.*/PermitRootLogin prohibit-password/' /etc/ssh/sshd_config
sed -i 's/^#*PasswordAuthentication.*/PasswordAuthentication no/' /etc/ssh/sshd_config
systemctl restart ssh