Re: Strange behaviour surrounding "ssh -T ..." and non-zero exit

2018-11-09 Thread W. Michael Petullo
>>> I am using Dropbear v2017.75 as found on OpenWrt. >>> >>> echo input | ssh -T h; echo $? >>> >>> Despite the error occurring, the above command line prints `0' rather >>> than `1.' Since this triggers the error, I would expect the latter >>> instead. >> After looking at the code, it appears

Re: Strange behaviour surrounding "ssh -T ..." and non-zero exit

2018-11-09 Thread Matt Johnston
Hi Michael, On 2018-11-09 3:48 pm, W. Michael Petullo wrote: >> I am using Dropbear v2017.75 as found on OpenWrt. >> >> echo input | ssh -T h; echo $? >> >> Despite the error occurring, the above command line prints `0' rather >> than `1.' Since this triggers the error, I would expect the