All things of interest - an entrepreneur loves coding and open source
Sunday, 13 January 2013
Slow SSH login on CentOS
1. Make sure /etc/hosts has an entry with your server’s external IP and hostname.
2. Edit the SSH server configuration file /etc/ssh/sshd_config and add (or change, if already present) the UseDNS parameter to read “no”. After that restart sshd:
#echo "UseDNS no" >>
/
etc
/
ssh
/
sshd_config
#service sshd restart
echo "UseDNS no" >> /etc/ssh/sshd_config /etc/init.d/sshd restart
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment