ssh_interactive_input
Send a line of input to a running SSH session to answer prompts like sudo passwords or y/N confirmations, or poll for new output when no input is sent. Returns latest output and status.
Instructions
Send a line of input to a running ssh_interactive_exec session (e.g. answer a sudo password or y/N prompt), or just poll for more output if input is omitted. Returns newly produced output and status.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | No | Text to send. Omit to wait/poll for more output without sending anything. | |
| newline | No | Append a trailing newline after input (usually required for the remote program to see it as a submitted line). | |
| quiet_ms | No | ||
| session_id | Yes |