Mon, February 19, 2018 ยท 1 min read

Make ssh connections faster on ip based access

Make ssh connections faster on ip based access

UseDNS determines whether IP Address to Hostname lookup and comparison is performed. If you are connecting to systems via IP address, or you have systems mapped to /etc/hosts file, you can disable SSH DNS lookup to make SSH connections faster.

echo "UseDNS no" >> /etc/ssh/sshd_config
systemctl restart sshd