ssh_sudo_run_script
CommunityExecute multi-line shell scripts under sudo on remote SSH hosts
AuthorNightreaver
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill allows for the execution of multi-line shell scripts under sudo on remote SSH hosts, providing fine-grained control and security over administrative operations.
Core Features & Use Cases
- Sudo Execution: Run scripts with elevated privileges on remote systems.
- Script Execution: Execute complex, multi-step operations with a single command.
- Security: Enforces strict password handling and allows for passwordless sudoers entries.
- Use Case: Automate system configuration changes or maintenance tasks on remote servers.
Quick Start
Run the following command to execute a multi-line script on a remote host 'web01': | ssh_sudo_run_script(host="web01", script="systemctl reload nginx; journalctl -u nginx --since '1 min ago' | tail -n 20", timeout=30)
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 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_sudo_run_script Download link: https://github.com/Nightreaver/python-ssh-mcp/archive/main.zip#ssh-sudo-run-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.