Strange behaviour surrounding "ssh -T ..." and non-zero exit
Matt Johnston
matt at ucc.asn.au
Wed Nov 14 23:02:03 AWST 2018
Hi Mike,
> On Sat 10/11/2018, at 12:52 am, W. Michael Petullo <mike at flyn.org> wrote:
>
>
> Here is a more practical example which demonstrates the problem:
>
> $ echo false | dbclient -T root at host.example.com
> $ echo $?
> 0
I think this should now _really_ be fixed with
https://secure.ucc.asn.au/hg/dropbear/rev/79eef94ccea9
dbclient was ignoring all packets for channels that were in the process of being closed, which included exit status messages.
Cheers,
Matt
More information about the Dropbear
mailing list