ServerPronto Dedicated Servers
       ServerPronto Home   ServerPronto University     
ServerPronto University  

Support of the day: Slow SSH login in CentOS 6


November 29th, 2011
If SSH login is very slow in CentOS 6 it’s because they have added another security feature, the SSH server will do a reverse DNS again for any incoming connection, this will delay connection up to 13 seconds, to avoid this:
1. Access the server
2. Edit the ssh config
Nano /etc/ssh/sshd_config
3. Look for use dns and change it to no
Ctrl +w, usedns, enter
Change it from
#useDNS yes

to

useDNS no
4. Save and close
Ctrl + X, Y, enter
5. Restart the sshd service
Service sshd restart



Entry Filed under: Support of the day

 

Leave a Comment

hidden
Comment:

Some HTML allowed:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Trackback this post  |  Subscribe to the comments via RSS Feed

 
Infolink ServerPronto Infolink Review Our Guarantee Why Choose ServerPronto? Why Choose ServerPronto? Review Our Guarantee Home About Why Choose ServerPronto? Compare Packages Frequently Asked Questions (FAQ) Order Now!