Repository navigation
Conversation
Handle `exit-signal` on client as alternative process termination to `exit-status`. Allow client to send signal messages, even if OpenSSH doesn’t currently propagate them to the running process. Add stub on server.py for receiving signal messages from client.
|
Quick thoughts re: the client side API here:
|
|
OpenSSH is gaining the ability to handle signals on the server side, with some restrictions. It looks like this will be ready in OpenSSH 7.8: https://bugzilla.mindrot.org/show_bug.cgi?id=1424 The set of signals it handles will be HUP, INT, KILL, QUIT, TERM, USR1 and USR2. This probably shouldn't be a limit on the client side - other servers might support more - but it might be worth documenting somewhere, in case people get confused that sending another signal fails. Of course, that set could also change in the future. |
|
Any change to update this branch? |
|
Any news on this one? |
|
The signal sending for sshd have been supported for quite some time on the server side. However, this merge request has been pending for some 5 years now. Is there something that I can do to resolve the merge conflicts and get this change merged in? |
|
@rustyscottweber It is far from uncommon for the original OP to lose interest in updating a pull-request, especially after this long. What I succesfully did was to fix his change in my own fork and make another pull request. Once the new one is passing the cores can close the old one. |
|
Thank you @ssbarnea, I wasn't sure if I should do exactly what you just did or if I should work from the existing merge request. |
|
@ssbarnea , Is there merge request reference I can follow or help out with? |
For #785 - didn't notice the whitespace changes until just now, can amend PR if you want that tidied up. Feels a bit kludgey to have both exit_status and exit_signal which are mutually exclusive, but can't do too much without possibly breaking existing code.