ssh host echo bla | echo bla

Nicolas Williams Nicolas.Williams at ubsw.com
Tue Dec 18 06:48:48 EST 2001


On Mon, Dec 17, 2001 at 10:13:41PM +0300, Michael Tokarev wrote:
> Markus Friedl wrote:
> > 
> > ok, consider this:
> > 
> >         $ ssh -1 localhost od /bsd | true
> >         $ ssh -2 localhost od /bsd | true
> > 
> > i think this is a 'bug'
> 
> Definitely.  And this explains some strange issues we has had
> when switched from v1 to v2 protocol (well, there was a bug in
> our script, but v1 shows it while v2 silently "ignores" it).

Right, it's a bug in your script. I think that the OpenSSH -2 behaviour
is correct and not a bug.

Or are you and Markus saying that the -1 behaviour is a bug? :)

> I found this bug in our script a few seconds earlier after
> changing all `ssh' to `ssh -1' -- now ssh shows that I was
> mistaken...
> 
> Regards,
>  Michael.


Cheers,

Nico
--
-DISCLAIMER: an automatically appended disclaimer may follow. By posting-
-to a public e-mail mailing list I hereby grant permission to distribute-
-and copy this message.-

Visit our website at http://www.ubswarburg.com

This message contains confidential information and is intended only 
for the individual named.  If you are not the named addressee you 
should not disseminate, distribute or copy this e-mail.  Please 
notify the sender immediately by e-mail if you have received this 
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free 
as information could be intercepted, corrupted, lost, destroyed, 
arrive late or incomplete, or contain viruses.  The sender therefore 
does not accept liability for any errors or omissions in the contents 
of this message which arise as a result of e-mail transmission.  If 
verification is required please request a hard-copy version.  This 
message is provided for informational purposes and should not be 
construed as a solicitation or offer to buy or sell any securities or 
related financial instruments.




More information about the openssh-unix-dev mailing list