ssh_shell_send_ctrl
Send control characters (Ctrl+C, Ctrl+U, Ctrl+D, Ctrl+Z) to an active SSH shell session to manage processes, clear lines, signal EOF, or suspend tasks without adding a newline.
Instructions
Send a control character (Ctrl+C/U/D/Z) to an SSH shell session without appending a newline.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Control character: c=Ctrl+C(SIGINT), u=Ctrl+U(clear line), d=Ctrl+D(EOF), z=Ctrl+Z(suspend) | |
| session_id | Yes | The session ID returned by ssh_shell_open |