360 Secure SkillHub
360 安全技能中心

Linux Security Hardener

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

分类:安全
laolaoqi
laolaoqi
热度 0.33
最近更新 2026-05-07 16:11:49

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add laolaoqi/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