execute
Run commands on a remote SSH server and retrieve output, stderr, and exit status. Specify session, command, optional input, and timeout.
Instructions
Execute command on SSH server
Args:
session_id: Session ID
command: Command to execute
stdin: Input string to provide to the command, defaults to None
timeout: Command timeout in seconds, defaults to 60 seconds
Returns:
Command output (stdout and stderr) and exit status
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| stdin | No | ||
| command | Yes | ||
| timeout | No | ||
| session_id | Yes |