Fix Slow SSH login time

Hold on Cowboy

This blog post is pretty old. Be careful with the information you find in here. It's likely dead, dying, or wildly inaccurate.

Interesting that since moving to a new ISP my login times to a particular Linux server is 20-30 seconds. I figured it had to do with reverse DNS somehow. Sure enough….

/etc/ssh/sshd_config UseDNS no

That made the logins quick again and that makes me HAPPY!


Did this help you out? It took me a few days to piece together all this information together, I hope this saves you some time (who knows, maybe the future me will be thankful I wrote this down). Let me know your thoughts.