I find on new installs of Linux there is a delay of about 20 seconds when using SSH to connect to the new install. I have found different suggestions for the fix and tehse are my experiences:
This article (https://rbgeek.wordpress.com/2012/05/25/how-to-fix-delay-in-ssh-login/) suggests setting ‘UseDNS’ to no on the new ssh server (in sshd_config, then restart […]