exit-signal sent, but ignored

Christian Weisgerber naddy at mips.inka.de
Thu Apr 8 07:04:42 AEST 2021


Damien Miller:

> > However, shouldn't ssh(1) handle "exit-signal" and synthesize an exit
> > status of 128 + signal?
> 
> This implements exit-signal at the client:
> 
> diff --git a/clientloop.c b/clientloop.c
> index 9fcf12e..0678cd3 100644

Yes!  I successfully tested this for plain as well as shared
connections.

Portability of sys_signame[] may be a problem, I don't know.

-- 
Christian "naddy" Weisgerber                          naddy at mips.inka.de


More information about the openssh-unix-dev mailing list