ssh is slow to give me a prompt [solved]

Daevid Vincent daevid at
Fri Mar 13 06:17:21 UTC 2009
In file /etc/ssh/sshd_config:
UseDNS no
sudo /etc/init.d/ssh restart
works awesome!

	From: Daevid Vincent
	Sent: Sunday, March 08, 2009 4:07 PM
	To: 'Ubuntu Users'
	Subject: ssh is slow to give me a prompt
	When I ssh to my server  ( or my notebook ( which is on my local NAT'ted 1GB LAN, it can take several seconds to get my prompt on either one. Both are Ubuntu 8.10. This doesn't seem normal. We run Ubuntu servers at work, and they're in a huge network and I can ssh to them very quickly. I've tried from various computers and they all exhibit this behaviour when connecting to the server or my notebook. Even connecting to each other is slow. Is there some PAM setting or sshd_config that I need to enable/disable to speed this up? They do go through a 1GB switch DLink router to each other, but I don't see how that would be the issue.

More information about the ubuntu-users mailing list