Xi6.org

Tag: dns

SSH Slow to respond for password input (timeout problems) Ubuntu Linux

by on Mar.14, 2009, under linux/ubuntu

If you find your SSH client is taking too long to connect (and ask you for the password), or you’re trying to SFTP and it’s timing out before the password prompt. It’s probably trying to do a DNS lookup!

It’s a quick and easy fix! Just edit the following file:

/etc/ssh/sshd_config

And add or change the following:

UseDNS no

Restart SSH

sudo /etc/init.d/ssh restart

6 Comments :, , , , more...

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

Visit our friends!

A few highly recommended friends...