For When You Can't Have The Real Thing
[ start | index | login ]
start > CentOS > 6 > ssh > slow ssh connections

slow ssh connections

Created by dave. Last edited by dave, 6 years and 47 days ago. Viewed 1,567 times. #2
[diff] [history] [edit] [rdf]
labels
attachments
(26 October 2012)

Problem

When I ssh login to a CentOS 6 system, it always takes around 30 second to log in.

Solution

CentOS 6 has enabled the reverse-DNS name lookup of IPs by default. To disable in /etc/ssh/sshd_config, set:

useDNS no
no comments | post comment
This is a collection of techical information, much of it learned the hard way. Consider it a lab book or a /info directory. I doubt much of it will be of use to anyone else.

Useful:


snipsnap.org | Copyright 2000-2002 Matthias L. Jugel and Stephan J. Schmidt