ssh_sudo_exec
Execute commands with sudo privileges on a remote server via an existing SSH session. Provide the sudo password if required by the server.
Instructions
Execute a command with sudo privileges on the remote server.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sessionId | Yes | SSH session ID from ssh_connect | |
| command | Yes | Command to execute with sudo | |
| sudoPassword | No | Sudo password (if required by server) | |
| timeout | No | Command timeout in milliseconds |