Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Sep 2004 13:52:51 +0200
From:      "Matthias F. Brandstetter" <haimat@lame.at>
To:        freebsd-questions@freebsd.org
Subject:   Re: FreeBSD 4.10:  slow ssh
Message-ID:  <200409161352.51194.haimat@lame.at>
In-Reply-To: <8A02D85A-0762-11D9-B6ED-000A95B490D8@cisdata.net>
References:  <8A02D85A-0762-11D9-B6ED-000A95B490D8@cisdata.net>

next in thread | previous in thread | raw e-mail | index | archive | help
---------- quoting Mari Cariapa ----------
> It takes about 15 seconds which normally should just take 2-3 seconds.
> Any idea on how I can fix this?

That's normal, if your ssh server can't resolve client's IP address to a 
valid host name (= reverse DNS lookup).

You have two options:
1.) Ask your provider to setup your reverse DNS correctly for your IP
2.) use "UseDNS no" option in /etc/ssh/sshd_config and restart sshd

HTH! Greetings, Matthias

-- 
Burns: I can't understand a word you're saying.

Homer: My name is Homer Simpson!

Burns: You're just babbling incoherently...

Homer: Oh, you're a dead man, Burns.  Oh, you're dead!  You're dead,
 Burns!

     Who Shot Mr. Burns (Part 1)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200409161352.51194.haimat>