ssh-exec-script
CommunityExecute multi-line shell scripts on remote hosts securely.
AuthorNightreaver
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Automates the execution of complex multi-line shell scripts on remote hosts, providing secure, unlogged execution for sensitive operations.
Core Features & Use Cases
- Remote Script Execution: Execute complex shell scripts on remote hosts securely, ensuring the script body doesn't appear in process listings or audit logs.
- No Command Allowlist Check: Allows execution of scripts without inspecting the script body, which is streamed via stdin.
- POSIX-only: Supports POSIX SSH targets, with Windows targets supported for SFTP and file operations via PowerShell.
Quick Start
Execute a shell script on the 'web01' host with the following command: run ssh-exec-script host="web01" script="set -euo pipefail; for f in /var/log/nginx/*.log; do lines=$(wc -l < "$f"); echo "$f: $lines"; done"
Dependency Matrix
Required Modules
None requiredComponents
scripts
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: ssh-exec-script Download link: https://github.com/Nightreaver/python-ssh-mcp/archive/main.zip#ssh-exec-script Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 620,000+ vetted skills library on demand.