Re: Time to connect to a freebsd box



Nico wrote:
Wolfgang Meiners wrote:
Hello,
I am using ssh on serveral computers here, one linuxbox, one OSXbox and
one freebsdbox. When i connect to the freebsdbox, it takes a very long
time (about 1 min) to establish the connection. Therefor i tried

Is the FreeBSD box overloaded? And does your client show up in forward
and reverse DNS for the FreeBSD box? The almost mandatory DNS and
reverse DNS lookups for connecting clients can cause significant delays.

I agree. Have found the FreeBSD sshd insists on doing reverse DNS lookups no matter what I have tried in /etc/ssh/sshd_config. Using Google suggests this situation is not unusual for others with Linux.

A properly functioning local caching named cut inside ssh connection time down from 30 seconds to 5 seconds. FreeBSD 5.5-Stable on PII-450, Mac OS X, 192.168.0.0/24, both on the same 10/100 network switch.
.



Relevant Pages

  • Re: Time to connect to a freebsd box
    ... I am using ssh on serveral computers here, one linuxbox, one OSXbox and ... When i connect to the freebsdbox, ... reverse DNS lookups for connecting clients can cause significant delays. ...
    (comp.security.ssh)
  • Re: Time to connect to a freebsd box
    ... I am using ssh on serveral computers here, one linuxbox, one OSXbox and ... When i connect to the freebsdbox, ... reverse DNS lookups for connecting clients can cause significant delays. ...
    (comp.security.ssh)
  • 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)