RedHat / Ubuntu / Solaris / Linux: Slow SSH logins (5 second delay)

I experienced some slowness with the username / password prompts appearing in sshd logins.
I don’t know why, but there is a good chance that this is due to a reverse DNS lookup issue.
I fixed fixed it by disabling the checking.
vi /etc/ssh/sshd_config
and added a line
usedns no
and restarted the service
/etc/init.d/ssh restart
This is a very nice article. When I first started working in IT, I used the info from a site here for passwordless ssh keys -> http://tinyurl.com/m9ztegw It works every time.