← Back to Skills Marketplace
ykaixu

Rssh2 - SSH远程自动化工具

by YuKaiXu · GitHub ↗ · v1.0.1
cross-platform ⚠ suspicious
503
Downloads
0
Stars
5
Active Installs
2
Versions
Install in OpenClaw
/install rssh2
Description
SSH远程自动化工具 - 会话管理、隧道、文件传输。使用场景:需要远程执行命令、建立SSH隧道、传输文件时。
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install rssh2
  3. After installation, invoke the skill by name or use /rssh2
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.1
安全修复:移除 test.js 中的敏感配置信息,添加安全提示
v1.0.0
初始发布:SSH远程自动化工具,支持会话管理、隧道管理、文件传输
Metadata
Slug rssh2
Version 1.0.1
License
All-time Installs 5
Active Installs 5
Total Versions 2
Frequently Asked Questions

What is Rssh2 - SSH远程自动化工具?

SSH远程自动化工具 - 会话管理、隧道、文件传输。使用场景:需要远程执行命令、建立SSH隧道、传输文件时。 It is an AI Agent Skill for Claude Code / OpenClaw, with 503 downloads so far.

How do I install Rssh2 - SSH远程自动化工具?

Run "/install rssh2" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Rssh2 - SSH远程自动化工具 free?

Yes, Rssh2 - SSH远程自动化工具 is completely free (open-source). You can download, install and use it at no cost.

Which platforms does Rssh2 - SSH远程自动化工具 support?

Rssh2 - SSH远程自动化工具 is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Rssh2 - SSH远程自动化工具?

It is built and maintained by YuKaiXu (@ykaixu); the current version is v1.0.1.

💬 Comments