ssh_exec
Execute commands on remote servers via SSH by specifying connection ID, command, working directory, and timeout for streamlined remote task management.
Instructions
Execute a command on the remote server
Input Schema
Name | Required | Description | Default |
---|---|---|---|
command | Yes | Command to execute | |
connectionId | Yes | ID of an active SSH connection | |
cwd | No | Working directory for the command | |
timeout | No | Command timeout in milliseconds |
Input Schema (JSON Schema)
{
"properties": {
"command": {
"description": "Command to execute",
"type": "string"
},
"connectionId": {
"description": "ID of an active SSH connection",
"type": "string"
},
"cwd": {
"description": "Working directory for the command",
"type": "string"
},
"timeout": {
"description": "Command timeout in milliseconds",
"type": "number"
}
},
"required": [
"connectionId",
"command"
],
"type": "object"
}