ssh host echo bla | echo bla
Carson Gaspar
carson at taltos.org
Wed Dec 19 05:53:13 EST 2001
Under Solaris 8 OpenSSH 2.5.2p3 (I know, I'll upgrade RSN, but that means
porting my patches forward...), I get:
$ ssh -1 localhost od /bsd | true
carson at localhost's password:
od: cannot open /bsd: No such file or directory
$ ssh -2 localhost od /bsd | true
carson at localhost's password:
od: cannot open /bsd: No such file or directory
It _seems_ like people are saying that since stdout has been closed, ssh
shouldn't bother connecting. As my above example shows, stderr _is_ still
connected, and can still receive useful data. Please be _very_ careful
before you mess with this.
--
Carson Gaspar - carson at taltos.org
Queen Trapped in a Butch Body
More information about the openssh-unix-dev
mailing list