← 返回 Skills 市场
ykaixu

Rssh2 - SSH远程自动化工具

作者 YuKaiXu · GitHub ↗ · v1.0.1
cross-platform ⚠ suspicious
503
总下载
0
收藏
5
当前安装
2
版本数
在 OpenClaw 中安装
/install rssh2
功能描述
SSH远程自动化工具 - 会话管理、隧道、文件传输。使用场景:需要远程执行命令、建立SSH隧道、传输文件时。
安全使用建议
This package appears to implement the advertised SSH features, but review before use: 1) Audit the code yourself (or have a dev review) — there are coding bugs (e.g., timeout handlers reference stream before it is defined) that can cause crashes. 2) Ensure dependencies are installed from a trusted registry (package.json lists ssh2 but no install spec was supplied). 3) Be cautious with credentials and file paths — the code will read private key files and scan local directories you pass; never run test.js with real credentials against sensitive hosts. 4) Because the tool can create dynamic SOCKS tunnels and port forwards, use it only on hosts/networks you control and avoid giving it root or highly privileged accounts. 5) If you will deploy this skill, run it in an isolated environment first (sandbox/container) and consider vendor-signing or integrity checks on npm packages.
功能分析
Type: OpenClaw Skill Name: rssh2 Version: 1.0.1 The OpenClaw skill 'rssh2' is classified as suspicious due to its inherent capabilities for remote command execution, arbitrary file transfer, and network tunneling, all of which accept user-controlled inputs without internal sanitization. Specifically, `index.js` and `session-manager.js` directly pass commands to `ssh2.Client.exec`, posing a shell injection risk if the calling agent provides unsanitized input. The `sftp-manager.js` allows reading/writing to arbitrary local and remote file paths via `sftp.fastPut` and `sftp.fastGet`, creating path traversal vulnerabilities. Additionally, `tunnel-manager.js` can establish network tunnels to arbitrary hosts and ports. While these are core features of an SSH automation tool, their powerful nature and reliance on external input sanitization make the skill high-risk if misused, classifying it as suspicious rather than benign. There is no evidence of intentional malicious behavior, data exfiltration, or backdoors within the skill's code or instructions; in fact, `SKILL.md` provides good security advice.
能力评估
Purpose & Capability
Name/description, SKILL.md, and included code (index.js, session-manager.js, tunnel-manager.js, sftp-manager.js) are consistent: the package depends on ssh2 and implements session pooling, tunnels, and SFTP as advertised.
Instruction Scope
SKILL.md stays within SSH automation scope and warns about secrets. However the runtime code will read local files (private key paths, scan local directories for sync, read/write files during upload/download) — behavior is expected for this tool but is not declared as required config paths in metadata. The SKILL.md instructs running test.js which will connect to whatever credentials the user supplies.
Install Mechanism
No install spec is provided even though package.json lists dependency 'ssh2'. That mismatch means the platform or user must ensure dependencies are installed; this is an operational omission (not direct malware), but it could lead users to run the code in an environment lacking dependency verification.
Credentials
The skill declares no required env vars or config paths, yet the code accepts privateKey either as a path or as inlined content and will traverse local directories for sync. The requested privileges are not excessive for an SSH tool, but the skill can access arbitrary local files if the user passes paths — consider this when providing credentials or directory paths.
Persistence & Privilege
Skill is not always-enabled, does not request system-wide changes, and does not modify other skills or agent settings. Autonomous invocation remains permitted (platform default) but is not combined with other high-risk flags here.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install rssh2
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /rssh2 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
安全修复:移除 test.js 中的敏感配置信息,添加安全提示
v1.0.0
初始发布:SSH远程自动化工具,支持会话管理、隧道管理、文件传输
元数据
Slug rssh2
版本 1.0.1
许可证
累计安装 5
当前安装数 5
历史版本数 2
常见问题

Rssh2 - SSH远程自动化工具 是什么?

SSH远程自动化工具 - 会话管理、隧道、文件传输。使用场景:需要远程执行命令、建立SSH隧道、传输文件时。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 503 次。

如何安装 Rssh2 - SSH远程自动化工具?

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

Rssh2 - SSH远程自动化工具 是免费的吗?

是的,Rssh2 - SSH远程自动化工具 完全免费(开源免费),可自由下载、安装和使用。

Rssh2 - SSH远程自动化工具 支持哪些平台?

Rssh2 - SSH远程自动化工具 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Rssh2 - SSH远程自动化工具?

由 YuKaiXu(@ykaixu)开发并维护,当前版本 v1.0.1。

💬 留言讨论