Episode47
Ignacio Valdes
to hardhats
show details Apr 20
Hi all,
I had been noticing that login to our server had become quite slow with a 12 second delay to login to the text client over ssh. Especially long delay between supplying the login id and getting the password prompt. Possibly coincidentally we changed the IP address of the server for networking management reasons. Logging into the text client id on the server was nearly instantaneous so it appeared to be a networking issue.
A quick change really increased the speed by un-commenting and changing UseDNS to no in /etc/ssh/sshd_config and doing a /etc/init.d/ssh restart. This changed the response time from clicking the text client to Access Code prompt from about 12 seconds back to what it was about 2 seconds. From what I have read this has something to do with 'reverse DNS lookup'.
-- IV
All content is owned by its respective author/poster