Re: takes forever to ssh from one host to another, sometimes

From: vervoom (vervoom@hotmail.com)
Date: 02/27/02


From: vervoom <vervoom@hotmail.com>
Date: Wed, 27 Feb 2002 11:40:29 +0000

I forgot to add the point in the verbose when the delay occurs:

bash-2.05a$ ssh -v smpd912
OpenSSH_3.0.2p1, SSH protocols 1.5/2.0, OpenSSL 0x0090603f
debug1: Reading configuration data /etc/ssh_config
debug1: Applying options for *
debug1: Seeding random number generator
debug1: Rhosts Authentication disabled, originating port will not be
trusted.
debug1: restore_uid
debug1: ssh_connect: getuid 23812 geteuid 23812 anon 1
debug1: Connecting to smpd9 [165.2.66.228] port 22.
debug1: temporarily_use_uid: 23812/10513 (e=23812)
debug1: restore_uid
debug1: temporarily_use_uid: 23812/10513 (e=23812)
debug1: restore_uid
debug1: Connection established.
debug1: read PEM private key done: type DSA
debug1: read PEM private key done: type RSA
debug1: identity file /cygdrive/d/Documents and
Settings/u752359/.ssh/identity type 1
debug1: identity file /cygdrive/d/Documents and
Settings/u752359/.ssh/id_rsa type -1
debug1: identity file /cygdrive/d/Documents and
Settings/u752359/.ssh/id_dsa type -1

############################
3 Second DELAY
############################

debug1: Remote protocol version 2.0, remote software version OpenSSH_3.0.2p1
debug1: match: OpenSSH_3.0.2p1 pat ^OpenSSH
Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_3.0.2p1

vervoom wrote:

> I'm having a similar problem to this. When I ssh to a Sun box running
> sshd through the inetd, I get a longer delay than if I were to start up
> a standalone sshd and connect to that. However, it's only on this box,
> all the other boxes seem fine.
>
> Is there something in the config I should look for? It doesn't appear to
> be an inetd problem because I can telnet to the box with no delay.
>
> My environment is:
>
> Client Host
> Cygwin1.3.6 Solaris2.6
> OpenSSH3.0.2 OpenSSH3.0.2
>
>
> JS.
>
> Igor B wrote:
>
>> igor_bumshteyn@yahoo.com (Igor B) wrote in message
>> news:<af3b6eaa.0202261146.48e5adab@posting.google.com>...
>>
>>> igorigor@yahoo.com (igor) wrote in message
>>> news:<e8db8e95.0202260713.4c16a445@posting.google.com>...
>>>
>>>> Richard Silverman <res@des.jhy.us.ml.com> wrote in message
>>>> news:<m1lu1s5xkwn.fsf@sys1.des.jhy.us.ml.com>...
>>>>
>>>>>> Thanks for your reply, Richard.
>>>>>> I have enjoyed reading your book.
>>>>>>
>>>>> You're welcome; Dan and I are glad you found it enjoyable.
>>>>>
>>>>>
>>>>>> Is there any way to remove arp from the list of commands used to
>>>>>> generate randomness?
>>>>>>
>>>>> Edit /etc/ssh_prng_cmds.
>>>>>
>>>> Fantastic!
>>>> Now it works great.
>>>> For some reason, arp -a -n often times out on this machine.
>>>> Thanks so much!!!
>>>>
>>> did you have to restart anything after editing the file. i took out
>>> some lines but i still see ssh perform those checks.
>>> thanks
>>>
>>
>> please disregard the previous post. found the problem
>>
>



Relevant Pages