360 Secure SkillHub
360 安全技能中心

Linux Security Hardener

针对 Ubuntu/Debian 服务器提供 audit、harden、rollback 三个动作:审计开放端口、用户权限与弱配置;加固时禁用 root SSH 登录并改为密钥认证,配置 UFW 防火墙与限速规则,启用 fail2ban 防暴力破解;每次改动前自动生成带时间戳的备份以便回滚。

laolaoqi
laolaoqi
热度 22.68
最近更新 2026-05-07 16:11:49
分类:安全依赖:代码执行 / 读写文件应用场景:DevOps / 自动化脚本 / 工作流

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add linux-hardener
Metadata
name
Linux Security Hardener
description
One-command Linux security hardening. Disables root SSH login, sets up UFW firewall with best-practice rules, configures fail2ban for brute-force protection, and audits user permissions. For Ubuntu/Debian servers running OpenClaw.

Linux Security Hardener

Zero-config server hardening for AI agents.

Run one action to audit and harden your Linux server against common attack vectors. Safe defaults — backs up every config before modifying.

Actions

Action Description
audit Scan current security posture (read-only)
harden Apply hardening measures (SSH key-only, UFW, fail2ban)
rollback Restore previous config from backups

Features

  • 🔐 SSH: disable root login, key-only auth, change port option
  • 🛡️ UFW: allow only 18792 (OpenClaw), 22 (SSH), rate limiting
  • 🚫 fail2ban: SSH brute-force protection, 5 attempts = 10min ban
  • 📋 Audit report: open ports, user privileges, weak configs
  • 💾 Auto-backup: every change creates a timestamped backup

Pricing

$4.99 — One-time purchase