intermittent stderr
Rachit Siamwalla
rachit at ensim.com
Fri Feb 23 10:50:13 EST 2001
Try "ssh hostname echo 0" and see if you get a similar result. You
probably will. This was a problem with early snapshots of 2.3.0p1 as
well. Perhaps the problem / solution there is similar? Doing the
following problbly works "ssh hostname echo 0 \; sleep 1"
(i would try it again, but i do not have machines available to test).
-rchit
John Dunlap wrote:
>
> I've just noticed that using ssh -1 always works. The problem
> is with ssh -2 from slow to fast machines. -- John
>
> >
> > The command "ssh ls -l /doesnotexist" gives various responses:
> >
> > Running from a 200 MHz PentiumPro with dsa key added to ssh-agent:
> >
> > Mistakes worst to fast machine:
> > To a faster 600 MHz dual processor i686 600 MHz machine:
> > ls: /doesnotexist: No such file or directory -- correct
> > nothing at all -- wrong
> > ls: select: Bad file descriptor -- wrong
> >
> > No mistakes to slower machine.
> > To a slower 166 MHz i586 600 MHz machine:
> > ls: /doesnotexist: No such file or directory -- correct all the time
> >
> > All machines run compiled OpenSSH-2.5.1p1 on RHL 6.2 with all
> > patches, kernel 2.2.16-3. Set up on all machines with
> > ssh and sshd defaulting to ssh2 protocol.
> >
> > My test script:
> >
> > #!/bin/sh
> > while [ 1 ]
> > do
> > date
> > ssh tesla ls -l /doesnotexist
> > done
> >
> > Responses from fast machine are not consistent:
> >
> > Thu Feb 22 14:15:35 PST 2001
> > ls: /doesnotexist: No such file or directory
> > Thu Feb 22 14:15:37 PST 2001
> > Thu Feb 22 14:15:39 PST 2001
> > ls: /doesnotexist: No such file or directory
> > Thu Feb 22 14:15:41 PST 2001
> > Thu Feb 22 14:15:43 PST 2001
> > ls: /doesnotexist: No such file or directory
> > Thu Feb 22 14:15:45 PST 2001
> > ls: select: Bad file descriptor
> > Thu Feb 22 14:15:47 PST 2001
> > Thu Feb 22 14:15:49 PST 2001
> > ls: /doesnotexist: No such file or directory
> > Thu Feb 22 14:15:51 PST 2001
> > ls: /doesnotexist: No such file or directory
> > Thu Feb 22 14:15:54 PST 2001
> > ls: /doesnotexist: No such file or directory
> > Thu Feb 22 14:15:56 PST 2001
> > select: Bad file descriptor
> > Thu Feb 22 14:15:58 PST 2001
> >
> > --
> > John Dunlap University of Washington
> > Senior Electrical Engineer Applied Physics Laboratory
> > dunlap at apl.washington.edu 1013 NE 40th Street
> > 206-543-7207, 543-1300, FAX 543-6785 Seattle, WA 98105-6698
More information about the openssh-unix-dev
mailing list