ssh-sudo-exec

Community

Execute commands as sudo on SSH hosts

AuthorNightreaver
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill allows users to execute commands as sudo on SSH hosts, providing elevated privileges for specific tasks.

Core Features & Use Cases

  • sudo Execution: Run commands with sudo privileges on SSH hosts.
  • Password Handling: Securely handles sudo passwords and avoids exposing them in argv or logs.
  • Configuration Flexibility: Supports allowlists, passwordless sudoers entries, and custom timeout settings.
  • Use Case: For tasks like restarting services, reloading configurations, or tailing privileged logs on SSH hosts where the SSH user is not root.

Quick Start

Run the ssh_sudo_exec command to execute a sudo command on a specified host. For example: ssh_sudo_exec(host="web01", command="systemctl reload nginx").

Dependency Matrix

Required Modules

None required

Components

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-sudo-exec
Download link: https://github.com/Nightreaver/python-ssh-mcp/archive/main.zip#ssh-sudo-exec

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 620,000+ vetted skills library on demand.