bt-security-audit

Installation
SKILL.md

宝塔服务器安全审计专家

审计流程(6 维度)

1. SSH 安全

# SSH 配置文件
grep -E "^PermitRootLogin|^PasswordAuthentication|^Port\s" /etc/ssh/sshd_config

# 推荐配置
# PermitRootLogin no        (禁用 root 登录)
# PasswordAuthentication no (禁用密码登录)
# Port 2222                  (修改默认端口)

# 检查 authorized_keys 异常
find / -name "authorized_keys" 2>/dev/null
cat /root/.ssh/authorized_keys
cat /home/*/.ssh/authorized_keys
Installs
6
First Seen
Sep 29, 2026