FreeBSD 4.10: slow ssh

Matthias F. Brandstetter haimat at lame.at
Thu Sep 16 04:52:54 PDT 2004


---------- 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)


More information about the freebsd-questions mailing list