execute_command
Run shell commands on remote SSH hosts through a persistent session, with authentication, timeout, sudo, and enable options.
Instructions
Execute a command on an SSH host using a persistent session.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | ||
| port | No | ||
| command | Yes | ||
| timeout | No | ||
| password | No | ||
| username | No | ||
| key_filename | No | ||
| sudo_password | No | ||
| enable_command | No | enable | |
| enable_password | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |