ssh_execute
Run a shell command on an active SSH session and retrieve its output.
Instructions
在已建立的 SSH 会话中执行命令并返回输出。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | 要执行的 shell 命令 | |
| timeout | No | 命令超时毫秒数 | |
| session_id | Yes | 会话 ID(由 ssh_connect 返回) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |