If you are experiencing very long delays when logging into linux systems using SSH.
It could be waiting for Reverse DNS to time out before giving the login prompt or password prompt.
I made the following change to fix it in the /etc/ssh/sshd_config
vi /etc/ssh/sshd_config
Make sure the useDNS line looks like this:
UseDNS no