search for: respectiveuser

Displaying 1 result from an estimated 1 matches for "respectiveuser".

2018 Jan 23
8
Sending Signal to remote process
I want ssh to forward the SIGTERM signal to the remote command. Example: ssh root at localhost /root/print-signal.py Get PID of ssh: ps aux| grep print-signal Kill the matching ssh process: kill pid-of-ssh Unfortunately only the ssh process itself gets the signal, not the remote command (print-signal.py). The remote command does not terminate :-( How can I make ssh