SSH slow login to RHEL/CentOS 6.x
January 25th, 2012
If you have a RHEL/CentOS install that waits ~15/20 seconds before presenting the shell prompt, (after you submit your password) you may have a name resolution issue on that system. If this situation is by design, (a firewall config, etc) there is a solution. Add the following line to your /etc/resolv.conf:
options single-request-reopen
This option forces a fallback mode that will get rid of the delay and ignore the underlying name resolution issue. Thanks to Erinn at the University of Colorado for her helpful blog post!