Slow response to SSH from within network?

Lennart Sorensen lsorense-1wCw9BSqJbv44Nm34jS7GywD8/FfD2ys at public.gmane.org
Wed Jul 27 13:30:22 UTC 2005


On Tue, Jul 26, 2005 at 07:20:16PM -0400, William O'Higgins wrote:
> I have been setting up a second machine on my network, headless, and so
> I log into it via ssh pretty often.  I notice that there seems to be a
> ten second delay before offering a prompt.  I notice this if I log back
> into the first (with a head) machine from the new machine, too.  So I
> have to assume that this is a behaviour rather than a weird glitch, and
> it makes some sense.  
> 
> However, I still want to turn it off :-)  Anyone know how to get ssh to
> answer the first ring?  Thanks.

I think by default ssh tries to do a dns/hosts lookup of the machine
connecting.  If you don't have a hosts file listing all your machines
and their ips, or dns setup for your local network, expect a short delay
while the lookup is attempted.

Lennart Sorensen
--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list