On Wed, 22 Mar 2000, knet wrote:
> For some reason or another, the first time I ssh to a host, ssh will
> fail on the first two attempts then work on the third. This only
> happens the first time I ssh to a host. After a successful connection,
> I can ssh again to the host and it'll work first time every time.
> However, if it has been a long time since I ssh'd successfully to a
> host, I'll encounter two failures then success again.
>
> [david@ws5 david]$ cat /etc/issue
>
> Red Hat Linux release 6.1 (Cartman)
> Kernel 2.2.12-20 on an i686
>
> [david@ws5 david]$ rpm -q ssh
> ssh-1.2.27-5i
>
> [david@ws5 david]$ ssh 192.168.0.1 -l dltaylor
> read: Connection reset by peer
> [david@ws5 david]$ ssh 192.168.0.1 -l dltaylor
> Read from socket failed: Connection reset by peer
> [david@ws5 david]$ ssh 192.168.0.1 -l dltaylor
> [EMAIL PROTECTED]'s password:
>
> I have no such problems on debian machines with the exact same network
> configuration and the same version of ssh.
>
> Does anyone have any idea why this would be happening? And, why it is
> only happening to RH6.1 machines?
>
> I really don't want to have to kludge this with an ssh wrapper in
> expect. So, any suggestions would be most appreciated.
>
> --
> knet
>
>
> --
> To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
> as the Subject.
>
This may help narrow down the problem:
$ ssh -v host
That will give some debugging information. I would post the output on the
list and see if someone can help.
--
Steve Feehan
System Administrator
Computing and Information Science ICQ: 9751775
Kansas State University http://www.cis.ksu.edu/~steve/
--
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.