ssh_execute_sudo
Execute commands with sudo privileges on remote servers via SSH. Specify server name, command, and optional sudo password for elevated access.
Instructions
Execute command with sudo on remote server
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| server | Yes | Server name or alias | |
| command | Yes | Command to execute with sudo | |
| password | No | Sudo password (will be masked in output) | |
| cwd | No | Working directory | |
| timeout | No | Command timeout in milliseconds (default: 30000) |