[Bug 1424] Cannot signal a process over a channel (rfc 4254, section 6.9)
bugzilla-daemon at bugzilla.mindrot.org
bugzilla-daemon at bugzilla.mindrot.org
Tue Jan 8 08:40:46 EST 2008
https://bugzilla.mindrot.org/show_bug.cgi?id=1424
--- Comment #2 from Daniel Azuma <dazuma at gmail.com> 2008-01-08 08:40:43 ---
(In reply to comment #1)
> Created an attachment (id=1432)
--> (http://bugzilla.mindrot.org/attachment.cgi?id=1432) [details]
> Implement "signal" channel request type, server and client.
>
> Please try this patch, which is based on the one posted by Markus.
>
> The client interace is not documented, but it's an escape sequence
> command line:
>
> [CR]~C (should give you the "ssh> " prompt, then
> -SHUP
I haven't tested the client, but the server side of your patch appears
to work. I applied it to the CVS head (as of about noon -0800 on 07 Jan
2008), and compiled and ran sshd on a Fedora 8 i386 box. Sending the
TERM signal from my custom client (based on ruby Net::SSH) now appears
to work as expected.
To get it to compile, I did have to modify your patch to add the
following line to misc.c:
#include <signal.h>
Thanks! Looking forward to seeing this in the release version.
--
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
More information about the openssh-bugs
mailing list