Execute Sudo Command
proc_sudoExecute commands with sudo on remote servers via SSH, subject to allowRawSudo policy authorization.
Instructions
Executes a command with sudo privileges only when allowRawSudo policy permits it
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sessionId | Yes | SSH session ID | |
| command | Yes | Command to execute with sudo | |
| cwd | No | Working directory | |
| timeoutMs | No | Command execution timeout in milliseconds |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||