SSH Connections Slow to Connect

Rhugga Harper rhugga at gmail.com
Mon Nov 7 16:07:32 UTC 2005


I'm guessing you sent these replies before my second thread, where I show
where it is hanging...

-Chuck


On 11/6/05, Manuel Arostegui Ramirez <manuel at todo-linux.com> wrote:
>
> El Domingo 06 Noviembre 2005 16:54, Jeff escribió:
> > Rhugga Harper wrote:
> > >I have a RH AS 3 U4 system. (Dell 2650, 2x3.00 Ghz, 6gb RAM). When I
> ssh
> > > to several Solaris 8/9 systems from this box I get about a 5 second
> delay
> > > before connecting, however, a solaris system on the same network as
> this
> > > AS3 box has less than a second connection overhead:
> > > Note: I am using trusted keys and ssh proto version 2.
> > >
> > ><solaris9host>:~ #time ssh myserver1 uptime
> > >12:15pm up 17 day(s), 7:10, 4 users, load average: 1.23, 1.29, 1.47
> > >
> > >real 0m0.612s
> > >user 0m0.150s
> > >sys 0m0.020s
> > >
> > ><redhatas3host>: time ssh myserver1 uptime
> > >12:15pm up 17 day(s), 7:11, 4 users, load average: 1.25, 1.29, 1.46
> > >
> > >real 0m6.675s
> > >user 0m0.020s
> > >sys 0m0.000s
> > >
> > >It is not DNS related, DNS lookups are also subsecond, but to be sure I
> > >configured the sshd daemon on all systems to not use DNS. I then made
> sure
> > >all the host names are in each system's host file.
> > >
> > >The ssh_config file on both client systems are identical. The sshd
> server
> > >these clients are connecting to is this version: OpenSSH_3.8.1p1,
> OpenSSL
> > >0.9.7d 17 Mar 2004
> > >
> > >I remember this problem several years ago and can't remember the cause
> > > now. Anyone have any ideas?
> > >
> > >Here is the kernel version of the redhat client that is slow to
> connect:
> > >
> > >Linux <redhatas3host> 2.4.21-27.0.2.1.7.ELhugemem #1 SMP Mon May 16
> > > 16:27:47 PDT 2005 i686 i686 i386 GNU/Linux
> > >
> > >Thanks,
> > >
> > >CC
> >
> > do `ssh -v solaris-box` and you should be able to see at what point its
> > hanging and work from there.
> >
> > Jeff
>
>
> Try what jeff told you, but, with
> ssh -v -v -v
> That would give you more information than only one -v
>
> Cheers
>
> --
> Manuel Arostegui Ramirez #Linux Registered User 295750
> Socio de Hispalinux 1813
> Red Hat Linux 9, Kernel 2.6.2 ReiserFS
> Firma cifrada
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.0.6 (GNU/Linux)
> Comment: For info see http://www.gnupg.org
> iD8DBQE+3O1MqfmPcHTj+twRAm
> yDAJ9P6ezepIMg06vOet/YPKxVoB+Z/ACfWVhh
> ---END PGP SIGNATURE-----
>
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
>



More information about the redhat-list mailing list