Re: Slow connecting process

From: Nico Kadel-Garcia (nkadel_at_verizon.net)
Date: 05/25/03


Date: Sun, 25 May 2003 12:37:12 GMT

Robert Schultz wrote:
> Hi.
>
> I've set up a linux machine (SuSE 8.2) and am trying to remote connect
> via ssh using either another SuSE command-line ssh or Windows SSH.
>
> No matter which one I log in with, it takes about 25 seconds from
> entering the username until he asks for my password.
>

*THAT* sounds like the classic reverse DNS problem. If your client does
not have good reverse DNS setup, the reporting done by the server takes
that long to time out on the reverse DNS lookup.

> I didn't change any configuration file on the server, as I am not
> really used to linux and configuration options, so what might be the
> reason for such slow connecting?
>
> The network in between is Fast Ethernet, and connecting to any other
> host works pretty fast, only this one host shows that problem.

Sounds like that host's DNS setup is messed up, or maybe that machine is
so slow and loaded down it takes a long time to exchange keys.

What happens if you run "ssh -v" to the target host?



Relevant Pages

  • Re: always takes exactly 40 seconds to log in via ssh
    ... it takes 40 seconds to log in via ssh. ... suggests it's not due to the server load; ... trying to do some sort of check on me (reverse DNS, ... But if you get your clients ...
    (comp.security.ssh)
  • Re: you dont exist ! Go away !
    ... Any white papers for ssh? ... >> Contact your administrator, he has simply deleted you from ... No reverse DNS configured (or forward and reverse DNS data ...
    (comp.os.linux.security)
  • Re: you dont exist ! Go away !
    ... Any white papers for ssh? ... >> Contact your administrator, he has simply deleted you from ... No reverse DNS configured (or forward and reverse DNS data ...
    (comp.os.linux.security)
  • Re: How to turn DNS off in sshd_config?
    ... > My server's DNS is very unstable, so many times, I can not ssh in, because ... > it keeps doing reverse DNS on the IP which sshs from. ... Do I have to reboot the computer? ... will read the file each time a new connection comes? ...
    (comp.unix.bsd.freebsd.misc)
  • thank you
    ... but my main interest is other network applications besides ssh, ... themseelves not dependant upon ssh, that the same have behavior (checking ... If it is an ssh configuration thing itself (rather than a reverse dns ...
    (Debian-User)