Linux: Slow SSH Before Login Prompt

Most probably, the problem is with unavailable connection to a domain name system (DNS) server…

Basically, do the following:

  1. Hop onto the SSH server.
  2. Edit the /etc/ssh/sshd_config file.
  3. Set UseDNS no.
  4. Restart the SSH daemon.

That’s it, no more time delays during the SSH login 🙂

This entry was posted in BSD, Linux, Security, Server and tagged , , , , . Bookmark the permalink.