ssh_shell_read
Read output from an SSH shell session by providing the session ID. Optionally clear the buffer after reading to ensure fresh output on the next call.
Instructions
Read output from an SSH shell session.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clear | No | Buffer clear flag: 1 (default) = clear buffer after reading, 0 = keep buffer | |
| session_id | Yes | The session ID returned by ssh_shell_open |