Why dup()?

Clark Wang dearvoid at gmail.com
Thu Oct 12 13:24:39 AEDT 2017

On Tue, Oct 10, 2017 at 2:48 AM, David Newall <openssh at davidnewall.com>

> Hello all,
> My scripts, which read stdout from ssh, weren't seeing EOF from the remote
> session.  It was being sent, but lost.

Hi David,

How did you hit the problem? "ssh host echo hello | cat" works fine for me.

More information about the openssh-unix-dev mailing list