# Send Vps Openclaw Security Hardening to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Then review README.md for any prerequisites, environment setup, or post-install checks. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "vps-openclaw-security-hardening",
    "name": "Vps Openclaw Security Hardening",
    "source": "tencent",
    "type": "skill",
    "category": "安全合规",
    "sourceUrl": "https://clawhub.ai/MarcusGraetsch/vps-openclaw-security-hardening",
    "canonicalUrl": "https://clawhub.ai/MarcusGraetsch/vps-openclaw-security-hardening",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/vps-openclaw-security-hardening",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=vps-openclaw-security-hardening",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "CHANGELOG.md",
      "README.md",
      "REMOTE.txt",
      "SKILL.md",
      "VERSION.txt",
      "scripts/audit-log-monitor.sh"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-23T16:43:11.935Z",
      "expiresAt": "2026-04-30T16:43:11.935Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
        "contentDisposition": "attachment; filename=\"4claw-imageboard-1.0.1.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/vps-openclaw-security-hardening"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/vps-openclaw-security-hardening",
    "downloadUrl": "https://openagent3.xyz/downloads/vps-openclaw-security-hardening",
    "agentUrl": "https://openagent3.xyz/skills/vps-openclaw-security-hardening/agent",
    "manifestUrl": "https://openagent3.xyz/skills/vps-openclaw-security-hardening/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/vps-openclaw-security-hardening/agent.md"
  }
}
```
## Documentation

### VPS Security Hardening for OpenClaw

Production-ready security hardening for AI agent deployments on VPS.

### ⚠️ CRITICAL WARNINGS

DO NOT run OpenClaw on servers/machines with sensitive personal data. Use a dedicated machine (VPS, bare-metal, or on-premise server dedicated to OpenClaw).

Supported OS: Ubuntu 20.04+, Debian 11+. Not for Windows (use WSL2) or macOS.

### ⚠️ Choose Your SSH Port First

You must choose a custom SSH port (1024-65535) before installing. This makes you conscious of the security decision.

# Choose your port (example: 4848)
export SSH_PORT=4848

# Install
cd ~/.openclaw/skills/vps-openclaw-security-hardening
sudo ./scripts/install.sh

# Verify
./scripts/verify.sh

# Test SSH (new terminal)
ssh -p ${SSH_PORT} root@your-vps-ip

### What It Does

LayerProtectionImplementationNetworkFirewall, SSH hardeningUFW, custom port (your choice), key-onlySystemAuto-updates, monitoringunattended-upgrades, auditdSecretsCredential managementCentralized .env, 600 permissionsMonitoringAudit logging, alertingKernel-level audit, multi-channel alerts

### Requirements

OS: Ubuntu 20.04+ or Debian 11+ (Linux only)
NOT supported: Windows (use WSL2), macOS
Root access
Existing SSH key authentication
Alert channel (optional): Telegram, Discord, Slack, Email, or Webhook
Custom SSH port of your choice (1024-65535)

### SSH

Port: 22 → ${SSH_PORT} (your choice, 1024-65535)
Auth: Keys only (no passwords)
Root login: Disabled
Max retries: 3
Fail2ban: Brute-force protection

### Firewall

Default: Deny incoming
Allow: Your chosen SSH port only

### Services

CUPS (printing): Stopped & disabled
Fail2ban: Intrusion detection enabled
Auto-updates: Security patches automatic

### Monitoring

Credential file access tracking
SSH config change detection
Privilege escalation alerts
Daily security briefing

### Resource Usage

ComponentRAMDiskAuditd~2 MB40 MB maxUFW~1 MBNegligibleScripts~5 MBNegligibleTotal<10 MB<50 MB

### Files

scripts/install.sh - Main installation
scripts/verify.sh - Verify installation
scripts/rollback-ssh.sh - Emergency rollback
scripts/critical-alert.sh - Telegram alerts
scripts/daily-briefing.sh - Daily reports
rules/audit.rules - Audit configuration

### Documentation

See README.md for full documentation.

### License

MIT - See LICENSE file
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: MarcusGraetsch
- Version: 1.0.6
## Source health
- Status: healthy
- Source download looks usable.
- Yavira can redirect you to the upstream package for this source.
- Health scope: source
- Reason: direct_download_ok
- Checked at: 2026-04-23T16:43:11.935Z
- Expires at: 2026-04-30T16:43:11.935Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/vps-openclaw-security-hardening)
- [Send to Agent page](https://openagent3.xyz/skills/vps-openclaw-security-hardening/agent)
- [JSON manifest](https://openagent3.xyz/skills/vps-openclaw-security-hardening/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/vps-openclaw-security-hardening/agent.md)
- [Download page](https://openagent3.xyz/downloads/vps-openclaw-security-hardening)