💻 Software
Send SIGTERM signal to a process running inside ssh
Fresh5 days ago
Mar 15, 20266027 viewsConfidence Score0%
0%
Problem
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.
Error Output
ssh hostname 'sleep 10; echo done'
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: Send SIGTERM signal to a process running inside ssh
Low Risk
It is possible to propagate through to the remote process by implementing an "EOF to SIGHUP" converter via a named pipe on the remote host (see: ssh command unexpectedly continues on other system after ssh terminates).
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix