Wednesday, December 15, 2010

10.10 Speed up slow SSH Login session

Login to SSH host machine and 

$sudo nano /etc/ssh/sshd_config

Add the following line in sshd_config.

UseDNS no

Save the file and restart the sshd. It used to take 10 seconds to get password prompt. Now it's in fraction of a second.

sudo /etc/init.d/ssh restart
Reference: http://superuser.com/questions/166359/top-causes-of-slow-ssh-logins

No comments:

Post a Comment