send_input_by_session
Send text input to a running SSH session to resolve stuck interactive prompts or send control commands.
Instructions
Send input to the active shell for a session.
Useful for clearing stuck interactive states or sending input to the current shell.
Args:
host: Hostname, IP address, or SSH config alias
input_text: Text to send (e.g., 'q' to quit pager, '' for Ctrl+C) username: SSH username (optional) port: SSH port (optional)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | ||
| input_text | Yes | ||
| username | No | ||
| port | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |