Slow response to SSH from within network?

Ansar Mohammed ansarm-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org
Wed Jul 27 14:09:46 UTC 2005


I think the solution is to install dns on your ssh server. Create your own
internal dns zone and make entries for all your internal hosts.

I had this problem a while ago when I upgraded to FreeBSD 5.4. That or
removing the "dns" entry in nsswitch.conf was the only solutions. 



-----Original Message-----
From: owner-tlug-lxSQFCZeNF4 at public.gmane.org [mailto:owner-tlug-lxSQFCZeNF4 at public.gmane.org] On Behalf Of William
O'Higgins
Sent: July 27, 2005 8:32 AM
To: tlug-lxSQFCZeNF4 at public.gmane.org
Subject: Re: [TLUG]: Slow response to SSH from within network?

On Tue, Jul 26, 2005 at 11:02:46PM -0400, William Park wrote:
>> I notice that there seems to be a ten second delay before offering
>> [an ssh] 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.
>
>Try the same thing when you're connected to Internet, and your DNS
>queries ('nameservers' in /etc/resolv.conf, 'forwarders' in
>/etc/named.conf) resolves.

Thank you William, Henry, Ansar.  It is certainly a network service
timing out.

This delay only occurs when I am within my network, behind a firewall
router.  Both machines go to 192.168.0.1 [Netgear RP114] for gateway and 
DNS, and so the hostnames of the machines behind the firewall will also
resolve to 192.168.0.1 - i.e. the wrong place.  I guess what I'm
wondering is, is there a way to have sshd just blindly accept requests
from within the network?  WinSCP or putty on a windoze box can connect 
instantly, so there must be a way.
-- 

yours,

William

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3038 bytes
Desc: not available
URL: <http://gtalug.org/pipermail/legacy/attachments/20050727/063b50ed/attachment.bin>


More information about the Legacy mailing list