闲社服务运行正常AI智能体自动化平台
v

多VPS命令执行

技能标识:vps-command-runner

Run commands across multiple VPS simultaneously. Execute SSH commands, deploy updates, check logs, and manage services across all your servers from one place. Use when managing multiple VPS, running commands across all hosts, checking status of distributed services, or deploying changes to multiple servers.

作者:admin | 来源记录:ClawHub
登记来源
ClawHub
版本
V 1.0.0
检测标记
后台标记通过
免费
免费获取
0
收藏
来源与检测标记为平台登记信息,并不代表已展示可复核的检测报告。使用前请核对版本、依赖和所需权限,建议先在隔离环境中运行。
概述
安装方式
版本历史

多VPS命令执行

VPS 命令运行器

同时在你的所有VPS上执行命令。

VPS 清单

主机IP用户名服务
内部服务器[已编辑][已编辑]网关、Nextcloud、提供商
VPS1(德国)
[已编辑] | [已编辑] | 提供商、Nextcloud | | VPS2(美国) | [已编辑] | [已编辑] | WireGuard、提供商、Nextcloud |

设置

编辑脚本以添加你的凭据:

bash

在每个脚本中设置以下变量:


USER=你的用户名
PASS=你的密码

或使用SSH密钥:

将密钥添加到 ~/.ssh/ 并修改脚本以使用密钥认证

快速使用

bash

在所有VPS上运行命令


~/.openclaw/workspace/skills/vps-command-runner/scripts/run-all.sh docker ps

在特定VPS上运行命令

~/.openclaw/workspace/skills/vps-command-runner/scripts/run.sh [IP] systemctl status docker

检查所有位置的提供商状态

~/.openclaw/workspace/skills/vps-command-runner/scripts/run-all.sh docker ps --filter name=urnetwork --format \{{.Names}}\ | wc -l

更新所有提供商

~/.openclaw/workspace/skills/vps-command-runner/scripts/run-all.sh docker pull bringyour/community-provider:g4-latest

脚本

  • - run-all.sh <命令> — 在所有VPS上执行
  • run.sh <命令> — 在特定VPS上执行
  • status.sh — 快速检查所有VPS的健康状态

SSH 设置

默认:密码认证(编辑脚本以更改)

如需基于密钥的认证:

  1. 1. 将密钥添加到 ~/.ssh/
  2. 修改脚本使用:ssh -i ~/.ssh/密钥 ... 替代 sshpass

标签

skill ai

通过对话安装

以下为平台配置的接入选项,并非逐项实测通过。能否安装取决于客户端支持、技能来源和运行环境:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 vps-command-runner-1776161889 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 vps-command-runner-1776161889 技能

通过命令行安装

skillhub install vps-command-runner-1776161889

下载

⬇ 下载 vps-command-runner v1.0.0(免费)

文件大小: 3.14 KB | 发布时间: 2026-4-15 13:14

v1.0.0 最新 2026-4-15 13:14
- Initial release of VPS Command Runner.
- Run commands simultaneously across multiple VPS via SSH.
- Scripts for running commands on all or specific servers, status checks, and update deployments.
- Supports both password and SSH key authentication.
- Easily manage and monitor distributed services from one place.
返回顶部