Strange behaviour surrounding "ssh -T ..." and non-zero exit
W. Michael Petullo
mike at flyn.org
Thu Nov 15 11:32:58 AWST 2018
>> 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.
This seems to work. I applied this change to an otherwise vanilla
dropbear-2018.76, and it seemed to solve the problem.
Thank you!
--
Mike
:wq
More information about the Dropbear
mailing list