I was having a problem with ssh taking almost 45secs to log into one of my Solaris 10 boxes. What I found out was for some reason it was taking forever to do dns resolution. What I did to fix it was adding this to /etc/ssh/sshd_config
LookupClientHostnames no
GSSAPIAuthentication no
Then do a restart
Makre sure you check for typos or ssh will not restart and you will have to login via console to fix it.
svcadm restart network/ssh
Subscribe to:
Post Comments (Atom)
You can also do this via the CLIENT ssh, which to me is more useful. You can edit /etc/ssh/ssh_config or your ~/.ssh/config file.
ReplyDelete