ssh host echo bla | echo bla

Markus Friedl markus at openbsd.org
Wed Dec 19 05:20:02 EST 2001


On Tue, Dec 18, 2001 at 11:49:09AM -0500, Nicolas Williams wrote:
> On Tue, Dec 18, 2001 at 05:37:33PM +0100, Markus Friedl wrote:
> > On Tue, Dec 18, 2001 at 11:28:47AM -0500, Nicolas Williams wrote:
> > > So what's the fix?
> > 
> > this is why i mail to the list. this list is for people who
> > send patches :)
> > 
> > even
> > 	$ ssh -n -2 host od /bsd | true
> > waits very long.
> 
> I don't know if there is a fix. You never know when stdout or stderr
> might become broken pipes. You just don't know because the only way to
> find out is to poll them or write to them.

ssh does, just check ssh -vvv.

in the
	$ ssh -n -2 host od /bsd | true
case it seems that client and server deadlock.



More information about the openssh-unix-dev mailing list