Forwarding signals in OpenSSH

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
Hello *,

I recently came across a (IMO) bug of the OpenSSH implementation again
(it disturbes me already quite a while...). If I start a command like

ssh somehost sleep 120

and hit Ctrl+C on the client, the sleep process won't be killed. That's
not the expected behaviour as if I wanted it to survive I would have
started 'sleep' in background (-f command switch).

All I've found so far on Google are implementation drafts for signal
forwarding and patches for older OpenSSH versions. But is there a way to
get the desired behaviour with the recent OpenSSH?


| Andreas Haupt                      | E-Mail:
|  DESY Zeuthen                      | WWW:
|  Platanenallee 6                   | Phone:   +49/33762/7-7359
|  D-15738 Zeuthen                   | Fax:     +49/33762/7-7216

Re: Forwarding signals in OpenSSH

ssh -t

  Richard Silverman

Site Timeline