← Back to Skills Marketplace
Ssh Remote Sanitized
by
myroboskill.com
· GitHub ↗
· v1.0.0
· MIT-0
293
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install ssh-remote-sanitized
Description
SSH 远程服务器管理工具。支持多服务器连接管理、命令执行、文件传输、系统监控、服务管理、日志分析、安全检查等功能,适用于 Linux/Unix 服务器运维。
Usage Guidance
This skill implements an SSH management tool that will: (1) read/write server configs under ~/.openclaw/skills/ssh-remote/configs/servers.json, (2) optionally read SSH private keys from paths you supply (e.g. ~/.ssh/id_rsa) or environment variables, and (3) execute arbitrary commands on your remote servers and run package installation via npm. The registry metadata did not list any required environment variables even though the code uses several — that's an inconsistency you should be aware of. Before installing: inspect configs/servers.json (don’t store private keys in the skill directory), review package.json and run npm install and npm audit in a safe environment, consider using a dedicated least-privilege SSH account (not root) for this skill, and avoid granting it access to your primary private keys unless you trust the source. If you need higher assurance, review the src/*.js files yourself or run the skill in an isolated container/VM.
Capability Analysis
Type: OpenClaw Skill
Name: ssh-remote-sanitized
Version: 1.0.0
The skill bundle provides a comprehensive SSH management tool, but it contains multiple shell injection vulnerabilities across several files (e.g., src/log.js, src/service.js, src/upload.js, and src/security.js). User-provided inputs like file paths, service names, and search patterns are directly concatenated into command strings executed via SSH (e.g., in `searchLog` and `getServiceStatus`) without any sanitization or escaping. While these appear to be unintentional security flaws rather than intentional malice, they represent a significant risk as they allow for arbitrary command execution on the remote server if the AI agent is manipulated.
Capability Assessment
Purpose & Capability
Name, README, SKILL.md and the source files (connect, exec, upload, download, monitor, service, log, security, index) are consistent with an SSH remote management tool. The code uses ssh2 and implements expected features (connections, command exec, file transfer, monitoring, security checks).
Instruction Scope
SKILL.md and README instruct running npm install and configuring configs/servers.json or environment variables. The runtime code reads configuration files from ~/.openclaw/skills/ssh-remote/configs/servers.json and also checks process.env (SSH_HOST, SSH_CONFIG_PATH, SSH_PRIVATE_KEY, etc.). The skill will read local private key files (e.g. ~/.ssh/id_rsa) and write config files under ~/.openclaw — these behaviors are within an SSH tool's purpose but are not declared in the metadata and are sensitive.
Install Mechanism
No formal install spec in registry metadata, but package.json/README require npm install and a dependency (ssh2). This means the skill will pull code from npm when the user runs npm install; there is no automatic download URL or extract step in the registry data. Risk from install is moderate (npm dependency) but not unusually high; user should run npm install/audit in a controlled environment.
Credentials
Registry metadata lists no required env vars, yet SKILL.md, README, and src/index.js explicitly read environment variables (SSH_HOST, SSH_PORT, SSH_USERNAME, SSH_PASSWORD, SSH_PRIVATE_KEY, SSH_CONFIG_PATH, HOME). The skill also reads private key files from disk (privateKeyPath). Access to local SSH private keys and optional use of passwords is expected for an SSH client, but it is sensitive and should be declared upfront. The mismatch between declared and actual env usage is an incoherence.
Persistence & Privilege
The skill does not set always:true and does not declare modifications to other skills or system-wide settings. It will persist configuration files under its own ~/.openclaw path and maintain an in-process connection pool — these are normal for this type of skill.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install ssh-remote-sanitized - After installation, invoke the skill by name or use
/ssh-remote-sanitized - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release of SSH remote server management skill.
- Supports multi-server SSH connection management
- Features remote command execution, file upload/download, system monitoring, service management, log analysis, and security checks
- Designed for Linux/Unix server operations and maintenance
- Includes configurable server list and usage examples
- Provides trigger words for key operations (连接, 执行, 上传, 下载, 监控, 服务, 日志, 安全)
- Requires Node.js (>=18.0.0) and ssh2 (>=1.15.0)
Metadata
Frequently Asked Questions
What is Ssh Remote Sanitized?
SSH 远程服务器管理工具。支持多服务器连接管理、命令执行、文件传输、系统监控、服务管理、日志分析、安全检查等功能,适用于 Linux/Unix 服务器运维。 It is an AI Agent Skill for Claude Code / OpenClaw, with 293 downloads so far.
How do I install Ssh Remote Sanitized?
Run "/install ssh-remote-sanitized" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Ssh Remote Sanitized free?
Yes, Ssh Remote Sanitized is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Ssh Remote Sanitized support?
Ssh Remote Sanitized is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Ssh Remote Sanitized?
It is built and maintained by myroboskill.com (@nickliang); the current version is v1.0.0.
More Skills