Dropbear 0.50 server returnsexit code 255 to ssh when app returns 0
Rob Landley
rob at landley.net
Tue Mar 4 10:46:56 WST 2008
On Monday 03 March 2008 14:12:05 Steven Hein wrote:
> Matt--
>
> I tested 0.50 with the common-channel.c patch below,
> and it worked as expected (always returned the
> remote command's exit code correctly).
>
> As you said, it does cause the "sleep 10 & hello"
> command to return immediately after echoing
> "hello", leaving the "sleep 10" running on the remote
> host.
Which is actually the behavior you want (and what telnet does, and xterm...)
It's a longstanding _bug_ that openssh doesn't do that.
Rob
--
"One of my most productive days was throwing away 1000 lines of code."
- Ken Thompson.
More information about the Dropbear
mailing list