← 返回 Skills 市场
xlbbb-cn

sshexec

作者 leonard.w · GitHub ↗ · v1.0.1
cross-platform ⚠ suspicious
447
总下载
0
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install sshexec
功能描述
A skill to execute SSH commands on remote servers, supporting both password and key-based authentication. It includes error handling and logging for command...
安全使用建议
This skill appears to do what it says, but exercise normal SSH security hygiene before installing or using it: avoid passing passwords on the command line (use SSH agent or protected key files instead), protect private key files and their passphrases, be mindful that command output is logged (may contain secrets), and prefer enabling --strict-host-key to detect MITM. Because the package source is 'unknown', only run this on trusted machines and review or sandbox the script first; install paramiko from the official PyPI repository and verify integrity before use.
功能分析
Type: OpenClaw Skill Name: sshexec Version: 1.0.1 The `sshexec` skill is designed to execute arbitrary SSH commands on remote servers, a powerful capability that, while aligned with its stated purpose, inherently carries significant risk. The `ssh_exec.py` script uses `paramiko.AutoAddPolicy()` by default for SSH host keys, which is a known vulnerability as it automatically trusts unknown host keys, making it susceptible to Man-in-the-Middle (MITM) attacks if not explicitly overridden with `--strict-host-key`. While the skill does not exhibit explicit malicious intent like data exfiltration or local persistence, its core functionality of remote command execution combined with a less secure default for host key verification makes it suspicious due to the potential for misuse and security flaws.
能力评估
Purpose & Capability
The name/description (SSH command execution with password or key auth) matches the provided Python script (ssh_exec.py). The script uses paramiko to open SSH connections, run a command, and return/log output—exactly what the skill claims.
Instruction Scope
SKILL.md and the script limit behavior to connecting to a specified host and executing a single command. However, the documentation examples show passing passwords on the command line (exposed to other local processes/system process listings) and the script logs stdout/stderr (which may contain sensitive data). The script also honors allow_agent=True so it may use local SSH agent keys—this is expected but worth noting.
Install Mechanism
This is instruction-only (no installer). The script depends on the paramiko library and will abort if it's missing; recommending 'pip install paramiko' is expected and proportional. No remote downloads, archive extraction, or nonstandard install paths are present.
Credentials
The skill requests no environment variables or credentials from the platform. It operates using credentials you provide at runtime (password or path to a private key) and may use the local SSH agent—these are appropriate for an SSH executor.
Persistence & Privilege
The skill does not request persistent presence (always:false) and does not modify other skills or system-wide agent settings. It runs as an on-demand script and does not write configuration outside normal logging.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install sshexec
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /sshexec 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
- Updated documentation to correct the usage command paths from "skills/ssh-exec" to "skills/sshexec". - No code changes were made; this is a documentation update only.
v1.0.0
- Added initial Python implementation (ssh_exec.py) for executing SSH commands on remote servers. - Supports both password and key-based authentication. - Includes error handling with detailed messages for failed executions. - Logs all executed commands and their results for auditing. - Updated documentation to reflect expanded features and usage instructions. - Removed legacy file (CLAUDE.md).
元数据
Slug sshexec
版本 1.0.1
许可证
累计安装 1
当前安装数 0
历史版本数 2
常见问题

sshexec 是什么?

A skill to execute SSH commands on remote servers, supporting both password and key-based authentication. It includes error handling and logging for command... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 447 次。

如何安装 sshexec?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install sshexec」即可一键安装,无需额外配置。

sshexec 是免费的吗?

是的,sshexec 完全免费(开源免费),可自由下载、安装和使用。

sshexec 支持哪些平台?

sshexec 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 sshexec?

由 leonard.w(@xlbbb-cn)开发并维护,当前版本 v1.0.1。

💬 留言讨论