openclawv1.0.0

OpenClaw SSH Bootstrap

hollowayboy@hollowayboy⭐ 1 stars· last commit 8mo ago· 0 open issues

Procedural skill for bootstrapping secure OpenClaw SSH sessions with security best practices

Choose how to use this skill

You do not need every option. Choose the path your AI client supports. The stable page stays the same; versioned files are immutable.

1. Native installer

This listing has no registered native installer command. Use the complete package or source fallback below, depending on what your client supports.

Do not guess an installer command or replace an existing version without reviewing the diff.

2. Complete package recommended

Download the ZIP when available. It includes SKILL.md plus the references, security notes and version metadata.

No complete ProSkills package is published for this listing yet.

3. Prompt-only

Copy the prompt above when the agent can read the stable page or when you want to adopt the workflow without installing a skill.

Need only the instruction file?

Download SKILL.md only if your client requires a single file. The complete ZIP is safer for a full installation because it preserves the references and release context.

No path installs or executes anything by itself. Your agent still needs access to the project files. Before updating, compare the installed version and review the diff.

7.4/10
Verified
Mar 9, 2026

// RATINGS

⭐GitHub Stars
⭐ 1 on GitHubGitHub ↗

New / niche

🟢ProSkills ScoreAI Verified
7.4/10
📍

Not yet listed on ClawHub or SkillsMP

// README

OpenClaw SSH Bootstrap Skill

这是一个把 “通过 SSH 在远程 Linux / Ubuntu VPS 上部署 OpenClaw” 的实战流程固化成技能包(AgentSkill)的公开仓库。

这个 skill 来自一次真实部署经验的抽象整理,但已经去除了所有敏感信息,包括:

  • 服务器 IP
  • SSH 用户名 / 密码
  • API Key
  • Telegram Bot Token
  • Gateway Token
  • Pairing Code

公开链接

  • GitHub 仓库:https://github.com/hollowayboy/openclaw-ssh-bootstrap
  • 水产市场资产页:https://openclawmp.cc/asset/s-85b4e23a39d83463

这个 skill 能做什么

它主要面向下面这类任务:

  • 先阅读 OpenClaw 官方文档再动手部署
  • 通过 SSH 检查远程 Linux 服务器环境
  • 安装 Node / OpenClaw
  • 使用 API key 型模型提供商 完成非交互 onboarding(如 Google Gemini)
  • 按用户要求设置默认模型与回退策略
  • 配置 Telegram Bot 通道
  • 使用更稳妥的默认安全选项:
    • gateway.bind = loopback
    • channels.telegram.dmPolicy = pairing
    • channels.telegram.groupPolicy = disabled
  • 重启并验证 OpenClaw Gateway
  • 完成 Telegram pairing
  • 在沉淀文档/发布仓库时自动用占位符替换敏感信息

适用场景

适合:

  • Ubuntu / Debian VPS
  • 通过 SSH 做远程部署
  • 使用 API key 型模型提供商(尤其是 Google Gemini)
  • 需要接入 Telegram bot 的 OpenClaw 场景

仓库结构

openclaw-ssh-bootstrap/
├─ README.md                  # 中文说明
├─ README.en.md               # English README
├─ skill/
│  └─ openclaw-ssh-bootstrap/
│     ├─ SKILL.md
│     ├─ references/
│     │  ├─ linux-vps-workflow.md
│     │  └─ redaction-and-placeholders.md
│     └─ scripts/
│        └─ ssh_run.py
└─ dist/
   └─ openclaw-ssh-bootstrap.skill

技能内容说明

SKILL.md

技能入口,定义:

  • 触发场景
  • 主流程
  • bind mode / pairing mode 的决策规则
  • 输出要求

references/linux-vps-workflow.md

详细保留一条真实可复用的远程部署流程,包括:

  • 文档阅读顺序
  • 服务器探测
  • 安装命令
  • onboarding 命令
  • Telegram 配置
  • 重启与验证
  • pairing 步骤

references/redaction-and-placeholders.md

规定哪些内容必须脱敏,以及应该替换成哪些占位符。

scripts/ssh_run.py

一个最小可用的 Paramiko SSH 执行脚本。 适合本机没有 sshpass 时,用 Python 方式跑一次性远程命令。

设计原则

这个 skill 的核心原则是:

  1. 先读官方文档,再操作
  2. 默认安全优先,尤其是远程 VPS 上的 bind mode
  3. 先完成最小可用部署,再做额外暴露
  4. 敏感信息绝不进公共仓库
  5. 流程真实可复用,不靠臆测命令

默认安全建议

如果只是为了:

  • 在远程服务器运行 OpenClaw
  • 接 Google Gemini API
  • 接 Telegram Bot
  • 通过 Telegram 与 OpenClaw 聊天

那默认建议是:

  • gateway.bind = loopback
  • dmPolicy = pairing
  • groupPolicy = disabled

这样一般不需要把 OpenClaw Gateway 直接暴露到公网。

如何打包 skill

如果你已经安装 OpenClaw 自带的 skill-creator 相关脚本,可运行:

python scripts/package_skill.py path/to/openclaw-ssh-bootstrap ./dist

仓库中已经附带一个打包好的:

  • dist/openclaw-ssh-bootstrap.skill

占位符示例

文档和示例命令里统一使用这类占位符:

  • <SERVER_IP>
  • <SSH_USER>
  • <SSH_PASSWORD>
  • <GEMINI_API_KEY>
  • <TELEGRAM_BOT_TOKEN>
  • <GATEWAY_TOKEN>
  • <PAIRING_CODE>

说明

这是一个公开仓库版本,只保留方法、经验和流程,不包含任何真实部署凭证。

如果你想把它继续发布到 ClawHub,或者扩展成支持:

  • OpenAI / Anthropic / Moonshot
  • Discord / WhatsApp / Signal
  • Tailscale / Tailnet bind
  • 基础安全加固(UFW / SSH / fail2ban)

可以继续在这个 skill 上迭代。

// REPO STATS

1 stars
0 open issues
Last commit: 8mo ago