{
  "title": "Running OpenClaw\\.app with a Remote Gateway",
  "content": "OpenClaw\\.app uses SSH tunneling to connect to a remote gateway. This guide shows you how to set it up.\n\n### Step 1: Add SSH Config\n\nEdit `~/.ssh/config` and add:\n\nReplace `<REMOTE_IP>` and `<REMOTE_USER>` with your values.\n\n### Step 2: Copy SSH Key\n\nCopy your public key to the remote machine (enter password once):\n\n### Step 3: Set Gateway Token\n\n### Step 4: Start SSH Tunnel\n\n### Step 5: Restart OpenClaw\\.app",
  "code_samples": [
    {
      "code": "┌─────────────────────────────────────────────────────────────┐\n│                        Client Machine                          │\n│                                                              │\n│  OpenClaw.app ──► ws://127.0.0.1:18789 (local port)           │\n│                     │                                        │\n│                     ▼                                        │\n│  SSH Tunnel ────────────────────────────────────────────────│\n│                     │                                        │\n└─────────────────────┼──────────────────────────────────────┘\n                      │\n                      ▼\n┌─────────────────────────────────────────────────────────────┐\n│                         Remote Machine                        │\n│                                                              │\n│  Gateway WebSocket ──► ws://127.0.0.1:18789 ──►              │\n│                                                              │\n└─────────────────────────────────────────────────────────────┘",
      "language": "unknown"
    },
    {
      "code": "Replace `<REMOTE_IP>` and `<REMOTE_USER>` with your values.\n\n### Step 2: Copy SSH Key\n\nCopy your public key to the remote machine (enter password once):",
      "language": "unknown"
    },
    {
      "code": "### Step 3: Set Gateway Token",
      "language": "unknown"
    },
    {
      "code": "### Step 4: Start SSH Tunnel",
      "language": "unknown"
    },
    {
      "code": "### Step 5: Restart OpenClaw\\.app",
      "language": "unknown"
    }
  ],
  "headings": [
    {
      "level": "h2",
      "text": "Overview",
      "id": "overview"
    },
    {
      "level": "h2",
      "text": "Quick Setup",
      "id": "quick-setup"
    },
    {
      "level": "h3",
      "text": "Step 1: Add SSH Config",
      "id": "step-1:-add-ssh-config"
    },
    {
      "level": "h3",
      "text": "Step 2: Copy SSH Key",
      "id": "step-2:-copy-ssh-key"
    },
    {
      "level": "h3",
      "text": "Step 3: Set Gateway Token",
      "id": "step-3:-set-gateway-token"
    },
    {
      "level": "h3",
      "text": "Step 4: Start SSH Tunnel",
      "id": "step-4:-start-ssh-tunnel"
    },
    {
      "level": "h3",
      "text": "Step 5: Restart OpenClaw\\.app",
      "id": "step-5:-restart-openclaw\\.app"
    }
  ],
  "url": "llms-txt#running-openclaw\\.app-with-a-remote-gateway",
  "links": []
}