Re: Remote program doesn't terminate when ssh session ends

2021-02-26 Thread Grant Edwards
On 2021-02-25, Catalin Patulea wrote: > I believe the right way this works it that: > - ssh client closes session > - dropbear closes the read end of command's stdout pipe > - next time command writes to pipe, it receives SIGPIPE and dies > Thus I don't think dropbear needs to explicitly kill

Re: Remote program doesn't terminate when ssh session ends

2021-02-25 Thread Catalin Patulea
Years ago, I attempted to fix an issue that sounds a lot like this: https://hg.ucc.asn.au/dropbear/rev/35183e8a7851 I believe the right way this works it that: - ssh client closes session - dropbear closes the read end of command's stdout pipe - next time command writes to pipe, it receives