ssh host echo bla | echo bla

Markus Friedl markus at openbsd.org
Wed Dec 19 09:11:56 EST 2001


On Wed, Dec 19, 2001 at 12:16:55AM +0300, Michael Tokarev wrote:
> But ssh should do what it has been asked to, or attempt to
> do that --

sure.

> it should NEVER try to "optimize" it's work by e.g. eliminating
> connection attempt if e.g. stdout is closed.

yes, this was never considered. ssh will always connect
since it will not try to write to stdout before authentication
succeeds.

> That to say -- I think that
> ssh should "reinvent" the -1 behaviour (correct from my view) to -2 variant
> (i.e. do what it was asked for and print any error message), but NOT the
> reverse.

yes, where's a patch :) ?



More information about the openssh-unix-dev mailing list