Thursday, April 5, 2012

SSH slow to login and slow for any command like ls, pwd etc

If you experience of SSH is slow to login and slow for any command like ls, pwd etc. Here is the way to fix it.  In your http://javaprovider.net server with mainIP,

cd to /etc/ssh
vi  sshd_config
#adding following line at the bottom
UserDNS no

After adding the above line, then you need to restart ssh.
/etc/init.d/sshd restart

You will see.
# init.d/sshd restart
Stopping sshd:                                           [  OK  ]
Starting sshd:                                             [  OK  ]

No comments:

Post a Comment