VPS security auditing and hardening
43
43%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Medium
Suggest reviewing before use
Fix and improve this skill with Tessl
tessl review fix ./src/skills/bundled/harden/SKILL.mdSecurity auditing and automated hardening for remote servers.
/harden audit <host>Run security audit against a server. Checks:
/harden fix <host>Apply safe fixes that won't lock you out:
/harden emergency <host>Quick 10-minute hardening for new servers:
/harden report <host>Generate markdown security report.
| Option | Description |
|---|---|
--user=NAME | SSH user (default: root) |
--dry-run | Preview changes without applying |
/harden audit 192.168.1.100
/harden fix myserver.com --user=admin
/harden emergency vps.example.com --dry-run
/harden report server.io > security-report.md| Check | Pass Criteria |
|---|---|
| System Updates | 0 pending updates |
| Auto Updates | unattended-upgrades installed |
| Root Login | PermitRootLogin no |
| Password Auth | PasswordAuthentication no |
| Firewall | UFW active or iptables configured |
| Fail2ban | Service running |
| Uptime | < 90 days |
| Services | < 10 listening ports |
| Sudo Users | At least one non-root sudo user |
| MaxAuthTries | Set to 3 or less |
e71a5f6
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.