Slow SSH Connection
From Peter Pap's Technowiki
Revision as of 03:30, 11 November 2016 by Ppapa (talk | contribs) (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...")
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?!