← 返回 Skills 市场
ssh-executor
作者
rickkbarbosa
· GitHub ↗
· v1.0.3
· MIT-0
122
总下载
0
收藏
0
当前安装
4
版本数
在 OpenClaw 中安装
/install ssh-executor
功能描述
Execute commands on remote hosts over SSH using SSH aliases, ssh config, tmux sessions, and private keys. Use when the user asks to SSH into a host, inspect...
安全使用建议
This skill appears to do exactly what it says: it wraps ssh for safe, key-based remote commands. Before installing, review the bundled scripts (scripts/ssh-run.sh) yourself and only allow the agent to run it when you trust the skill. Be aware it will read ~/.ssh/config (and return resolved metadata including identityfile paths and resolved host/user/port); it does not read private-key contents, nor does it exfiltrate data to external endpoints. Test on a non-production host first, avoid pasting passwords into chat, and require explicit confirmation via --confirm-dangerous before running any mutating commands.
功能分析
Type: OpenClaw Skill
Name: ssh-executor
Version: 1.0.3
The ssh-executor skill provides a well-structured and safety-conscious interface for remote command execution via SSH. The core logic in scripts/ssh-run.sh includes a regex-based guardrail to identify and block potentially destructive commands (e.g., sudo, rm, systemctl) unless an explicit confirmation flag is provided. The skill instructions in SKILL.md and references/safety.md emphasize security best practices, such as preferring key-based authentication, avoiding password prompts, and protecting private key contents from being logged or exfiltrated.
能力标签
能力评估
Purpose & Capability
Name and description match the actual behavior: the skill wraps ssh via a bash helper and uses python3 to format output and parse ssh config. Declared binaries (ssh, bash, python3) are required and appropriate; no unrelated credentials, binaries, or config paths are requested.
Instruction Scope
SKILL.md restrains when to inspect ~/.ssh/config and mandates confirmation for mutating commands. The bundled script can read ~/.ssh/config and uses `ssh -G` to resolve identityfile entries and returns resolved_identity_files and key_path (paths only). This can reveal filenames/paths of private keys and SSH metadata to whoever receives the script output; the script does not read private-key contents or transmit data off-host. Confirm you want the agent to read your SSH config and share resolved paths before invoking.
Install Mechanism
No install spec (instruction-only plus bundled script) — nothing is downloaded or written by an installer. The only included code is a local helper script; no external installs or url downloads are present.
Credentials
The skill requests no environment variables or external credentials. It does access local SSH config and may expose key file paths (but not key contents). This level of access is proportionate to remote-SSH functionality, but users should be aware that resolved identity file paths and host metadata will appear in outputs.
Persistence & Privilege
always is false and the skill is user-invocable; it does not attempt to persist, modify other skills, or change global agent settings. Autonomous model invocation remains enabled (the platform default) but is not combined with elevated privileges here.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install ssh-executor - 安装完成后,直接呼叫该 Skill 的名称或使用
/ssh-executor触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.3
- Added "python3" as a required binary in the skill's metadata.
- No other changes detected; all documentation and workflow remain unchanged.
v1.0.2
- Added scripts/ssh-run.sh: a shell script for safe SSH command execution with alias support and structured output.
- Added references/safety.md: a reference file providing additional safety guidelines for remote command execution.
v1.0.1
- Dropped the sample file publish.example.sh.
- Added OpenClaw-specific metadata, including OS compatibility (linux, darwin) and required binaries (ssh, bash) to SKILL.md.
- Updated documentation to clarify bundling and usage of scripts/ssh-run.sh, removing the skills/ path prefix from example commands.
- Instructed only to inspect ~/.ssh/config for aliases if the user uses SSH aliases or requests alias resolution.
v1.0.0
Initial release of ssh-executor.
- Enables remote command execution over SSH using SSH aliases, user configs, and key-based authentication.
- Supports tmux workflows and confirms mutating or destructive commands before execution.
- Prefers read-only or diagnostic commands by default, requiring explicit user confirmation for risky changes.
- Integrates with scripts/ssh-run.sh to handle SSH connections, list aliases, and manage execution safety.
- Returns clear, structured results including stdout, stderr, and exit code.
元数据
常见问题
ssh-executor 是什么?
Execute commands on remote hosts over SSH using SSH aliases, ssh config, tmux sessions, and private keys. Use when the user asks to SSH into a host, inspect... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 122 次。
如何安装 ssh-executor?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install ssh-executor」即可一键安装,无需额外配置。
ssh-executor 是免费的吗?
是的,ssh-executor 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
ssh-executor 支持哪些平台?
ssh-executor 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(linux, darwin)。
谁开发了 ssh-executor?
由 rickkbarbosa(@rickkbarbosa)开发并维护,当前版本 v1.0.3。
推荐 Skills