From owner-freebsd-questions Thu Oct 31 22:22: 7 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 F240C37B401 for ; Thu, 31 Oct 2002 22:22:05 -0800 (PST) Received: from mail.dubium.com (h24-78-225-134.vn.shawcable.net [24.78.225.134]) by mx1.FreeBSD.org (Postfix) with ESMTP id 30A4A43E6E for ; Thu, 31 Oct 2002 22:22:05 -0800 (PST) (envelope-from joe-dated-1036563834.f2333b@dubium.com) Received: (qmail 64100 invoked from network); 1 Nov 2002 06:23:55 -0000 Received: from localhost (HELO fafner.dubium.com) ([127.0.0.1]) (envelope-sender ) by 0 (qmail-ldap-1.03) with SMTP for ; 1 Nov 2002 06:23:55 -0000 Content-Type: text/plain; charset="iso-8859-1" To: freebsd-questions@freebsd.org Subject: Re: SSH Delay problems Date: Thu, 31 Oct 2002 22:22:08 -0800 User-Agent: KMail/1.4.3 References: <200210312158.47996.joe@dubium.com> <200211011712.03207.jrhoden@unimelb.edu.au> In-Reply-To: <200211011712.03207.jrhoden@unimelb.edu.au> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <200210312222.08082.joe@dubium.com> From: joe X-Delivery-Agent: TMDA/0.63 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 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. -------------------------------------------------------- Joe Sotham -------------------------------------------------------- Christianity got over the difficulty of furious opposites by keeping them both and keeping them furious. - G.K. Chesterton To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message