技能 编程开发 VPS服务器运维管理

VPS服务器运维管理

v20260707
vps-server-management
本技能用于指导受控的VPS服务器和后台代理的运维管理。当需要进行SSH连接、系统重启、日志检查或复杂的自动化工作流(如n8n或自定义代理)时使用。强调遵循严格的操作流程和获取用户的明确授权,确保安全操作。
获取技能
482 次下载
概览

VPS Server Management

When to Use

  • Use when the user asks to operate an authorized VPS or agent running on a remote host.
  • Use when SSH, deployment, restart, status, or log inspection is needed with explicit permission.

Source of truth: library/infrastructure.md (read it for the latest — IPs/expirations change).

Servers (Hostinger VPS) — 3 total

Hostname IP OS Purpose Expires
openclaw-server <IP> Ubuntu 24.04 (Dokploy) OpenClaw — personal instance
n8n-server <IP> Ubuntu 24.04 (n8n) All n8n workflow automations (primary)
hermes-server <IP> Ubuntu 24.04 Hermes Agent — Discord gateway (Vilnius, LT)

SSH as root@<IP>.

Access levels (never share higher than needed)

  1. App login — e.g. app.example.hstgr.cloud. Build/edit workflows, no server access. Safest to share.
  2. VPS SSHroot@<IP>. Docker, files, system config. Trusted technical people only.
  3. Hostinger hPanelhpanel.hostinger.com. Billing, reboot, OS reinstall. Exposes SSH creds + browser terminal, so it grants server access too. The user only.

Managing a VPS via an agent

For multi-step or exploratory work, SSH into the box first and launch the agent ON the VPS (e.g. codex --yolo), then talk to that local-on-server agent — it has full filesystem/process context and avoids fragile SSH round-trips. For short command sequences (update, config change, restart), driving an existing SSH session directly (e.g. via a cmux pane) is fine.

When checking on a remote/on-box agent, send the user one concise status line each time: what it is doing and whether it is on track.

Claude Code cmux note: after Claude finishes, it may prefill a predicted next user message; that draft is Claude, not the user speaking.

Agents on servers

  • OpenClaw → openclaw-server (managed via Dokploy).
  • Hermes → hermes-server (Discord gateway). Setup/config docs in library/hermes/.
  • n8n → n8n-server.

Hermes ops (on hermes-server)

hermes --version            # shows version + commits behind
hermes update               # auto-snapshots, updates deps, rebuilds web UI, restarts gateway itself
hermes gateway status|restart
journalctl --user -u hermes-gateway --since '5 min ago' --no-pager   # gateway logs (systemd USER service)
  • Default model lives in ~/.hermes/config.yaml under model.provider + model.default — NOT in .env. Change via hermes model (interactive) or edit the yaml directly, then hermes gateway restart to propagate to gateways.
  • npm EBADENGINE warnings during update (deps want Node >=24, box runs v22) are non-blocking — do not "fix" them.
  • Deeper docs (Discord/Slack/WhatsApp setup, file structure, vision config): library/hermes/.

Limitations

  • Adapted from davidondrej/skills; verify local paths, tools, credentials, and agent features before acting.
  • For commands, remote access, scheduling, browser automation, or file-changing workflows, get explicit user approval and confirm the target environment first.
信息
Category 编程开发
Name vps-server-management
版本 v20260707
大小 3.5KB
更新时间 2026-07-08
语言