Difference between revisions of "Slow SSH Connection"

From Peter Pap's Technowiki
Jump to: navigation, search
(Created page with "Often this is down to DNS. So make sure you're DNS is set up 100% right. If it still is an issue, it might be that the client you are connecting from, has no DNS entry itself, so...")
 
(No difference)

Latest revision as of 03:30, 11 November 2016

Often this is down to DNS. So make sure you're DNS is set up 100% right. If it still is an issue, it might be that the client you are connecting from, has no DNS entry itself, so when the SSH host tries to look it up, it waits and waits and waits.... To fix it, add the following line to /etc/ssh/sshd_config:

LookupClientHostnames no

This is the equivalent of the Linux UseDNS parameter. Then restart SSH:

 svcadm restart ssh

Fast now, isn't it?!