Linux system running Redhat 5.1.
When I connect to the machines with SSH there is a long delay before the login completes and I get a shell.
I did some research and found a solution to this problem that suggested that I could remove the
/etc/resolv.conf, and then logins would work quickly. I tried doing this and it actually worked; removing the
/etc/resolv.conf sped things up.
So now I want to understand why this is causing a problem, and how to get fast SSH logins without breaking name resolution.
UseDNS no was in
sshd_config (but has not fixed the issue)