SSH into an Ubuntu VPS (Docker) for a read-only health/security/update report (UFW + fail2ban) and propose fixes; apply updates/restarts only with explicit confirmation. Use when the user wants a read-only VPS health/security check.
설치
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SSH into an Ubuntu VPS (Docker) for a read-only health/security/update report (UFW + fail2ban) and propose fixes; apply updates/restarts only with explicit confirmation. Use when the user wants a read-only VPS health/security check.
VPS checkup (Ubuntu + Docker)
Goal
Produce a clear, read-only health/security/update report for an Ubuntu VPS running Docker.
Propose safe, minimal fixes; do not apply changes or restart anything unless the user explicitly confirms.
Inputs to ask for (if missing)
SSH target host alias (from ~/.ssh/config on Windows: $HOME\\.ssh\\config) or user@ip.
Confirm sudo access and whether running apt update is allowed (it modifies package lists).
Required open ports (e.g., 22, 80, 443) and any non-standard SSH port.
Where deployments live: confirm if Docker Compose is used on the VPS (common), and whether compose files are in a known path.
If the local ssh client or required tools are missing, tell the user and ask whether to install them or provide command output manually.
Workflow (checklist)
Connect safely
Keep a second SSH session open before any SSH/firewall changes.
Record identity/time/host: whoami, hostname -f, date -Is, uptime.
Collect a read-only baseline (system)
OS/kernel: lsb_release -a (or cat /etc/os-release), uname -a.
CPU/mem/disk: top snapshot, free -h, df -hT, lsblk.