From owner-freebsd-questions Mon Nov 4 4:10:39 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1E59637B401 for ; Mon, 4 Nov 2002 04:10:38 -0800 (PST) Received: from mail.thundernet.cz (mail.thundernet.cz [62.77.87.114]) by mx1.FreeBSD.org (Postfix) with SMTP id 5A27E43E75 for ; Mon, 4 Nov 2002 04:10:35 -0800 (PST) (envelope-from neuhauser@bellavista.cz) Received: (qmail 10555 invoked from network); 4 Nov 2002 12:10:26 -0000 Received: from unknown (HELO freepuppy.bellavista.cz) (62.168.44.50) by mail.thundernet.cz with SMTP; 4 Nov 2002 12:10:26 -0000 Received: by freepuppy.bellavista.cz (Postfix, from userid 1001) id 1DB382FDAB2; Mon, 4 Nov 2002 13:10:23 +0100 (CET) Date: Mon, 4 Nov 2002 13:10:23 +0100 From: Roman Neuhauser To: Michael Joyner Cc: joe , freebsd-questions@freebsd.org Subject: Re: SSH Delay problems Message-ID: <20021104121023.GC68683@freepuppy.bellavista.cz> Mail-Followup-To: Michael Joyner , joe , freebsd-questions@freebsd.org References: <200210312158.47996.joe@dubium.com> <200211011712.03207.jrhoden@unimelb.edu.au> <200210312222.08082.joe@dubium.com> <1036131758.3dc21dae54439@imp.hq.dyns.cx> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1036131758.3dc21dae54439@imp.hq.dyns.cx> User-Agent: Mutt/1.5.1i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG # mjoyner2@hq.dyns.cx / 2002-11-01 01:22:38 -0500: > Quoting joe : > > On October 31, 2002 10:12 pm, Jacob Rhoden wrote: > > > On Fri, 1 Nov 2002 16:58, joe wrote: > > > > There is a significant delay before ssh connects and returns a > > > > prompt. I am on a private network, attempting a 192.168.0.XXX > > > > 192.168.0.YYY connection. There is a distinct 1:15 min delay > > > > before the password prompt appears. I have included the log of a > > > > specific session. > > > > > > Summary of last thread: If your dns isnt setup properly then there > > > will be a delay in connecting to the server. The reason for this is, > > > the remote server is attempting to resolve the local machines ip > > > address. If setup properly, it will resolve straight away. If dns is > > > not setup properly, it tries and gives up (after about approximately > > > 1:15 minutes I would suspect). > > > > > > You need to check the remote machine can resolve your local ip > > > address. To test this on your remove machine type: > > > > > > nslookup 192.168.local.machine.ip.address > > > > Sorry, I should have mentioned these two machines are behind a firewall > > and use private ip addresses. The hosts files identify each other > > properly. Even if I attempt a connection using the ip address I > > observe the same problem. Do you still think this is a DNS issue? I'm > > not sure how it would be. > > Sounds like a DNS issue to me! :) > > You need to setup a local bind that will resolve and reverse resolve > all your private #'s note that it doesn't need to be Bind, you can use any DNS server. djbdns has been doing me a very good service: http://cr.yp.to/djbdns.html -- If you cc me or take the list(s) out completely I'll most likely ignore your message. see http://www.eyrie.org./~eagle/faqs/questions.html To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message