Open utterances-bot opened 3 years ago
Hi Sorry if I've missed, I kind of "TLDR"-ed it ... but do you have any fix for this ?! something that can be configured on either of the client or server side !?
Really helpful, thank you!!!
Thanks @wxl374!
Looks like I forgot to reply to @AsharLohmar question, the typical workaround to SSHD login delays (if you have a spotty DNS server with bad availability or response time) is to disable SSHD reverse DNS lookups:
In /etc/ssh/sshd_config
set UseDNS no
Tutorial: Troubleshooting Linux SSH Login Delay - Why does logging in always take 10 seconds? | Tanel Poder Consulting
As I’m delivering my Linux Troubleshooting training soon, I am going to blog about some typical issues and techniques we’ll troubleshoot in the class too. I’ll start from a relatively simple problem - logging in to a server via SSH always takes 10 seconds. The delay seems to be pretty constant, there don’t seem to be major network problems and the server is not overloaded. Yet, remote logins always take 10 seconds. - Linux, Oracle, SQL performance tuning and troubleshooting - consulting & training.
https://tanelpoder.com/posts/troubleshooting-linux-ssh-logon-delay-always-takes-10-seconds/