I need to send a SIGINT to the remote process running in foreground in an SSH session.
The SSH session is already established, so I cannot use option of starting it with (as described in How to send SIGINT to a remote process over SSH?)
ssh -t user@host
I know I could open a second ssh session and kill the process or close the current ssh session, but I want to avoid that and do it directly throw the current session (if this is possible).