Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'A script to workaround slow ssh connection issues' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
A script to workaround slow ssh connection issues
Authored by: weatherbug on Dec 28, '07 10:07:51AM

If this is a host you are ssh'ing to often, you could always put an entry in /etc/hosts as well. That would eliminate the DNS lookups entirely since the resolver library goes to the hosts file BEFORE attempting to do a DNS lookup.



[ Reply to This | # ]
A script to workaround slow ssh connection issues
Authored by: cran on Jan 06, '08 07:30:25AM

/etc/hosts certainly helps in some cases. For me it does not because we use dynamic IP addresses and dynamically changing DNS entries via DHCP in our network.



[ Reply to This | # ]