Is it possible to send a SIGTERM (or other) signal to a process inside ssh, for example:
ssh hostname 'sleep 10; echo done'
What can I do to interrupt the sleep command? If I press ctrl-c, the ssh command gets interrupted.
|
Is it possible to send a SIGTERM (or other) signal to a process inside ssh, for example:
What can I do to interrupt the sleep command? If I press ctrl-c, the ssh command gets interrupted.
| |||
|
feedback
|
|
If you knew the pid of the remote process then you could do: | |||
|
feedback
|