If SSH login takes a long time, all you have to do is to add the following to /etc/ssh/sshd_config on your SSH server: UseDNS no and then restart the service.
Posts tagged «dns»
Slow response on connecting to ProFTPD server (slow login)
When you experience slow connection responses (login takes a long time), try disabling reverse dns lookups. Edit “/etc/proftpd.conf” and change directive: UseReverseDNS on into UseReverseDNS off If this doesn’t work out try adding or changing the directive (must be turned off): IdentLookups off