From owner-freebsd-security Tue Apr 16 15:32:44 2002 Delivered-To: freebsd-security@freebsd.org Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by hub.freebsd.org (Postfix) with ESMTP id 0A4C537B400 for ; Tue, 16 Apr 2002 15:32:39 -0700 (PDT) Received: by flood.ping.uio.no (Postfix, from userid 2602) id 7915A5309; Wed, 17 Apr 2002 00:32:37 +0200 (CEST) X-URL: http://www.ofug.org/~des/ X-Disclaimer: The views expressed in this message do not necessarily coincide with those of any organisation or company with which I am or have been affiliated. To: "Michael W. Collette" Cc: FreeBSD Mailing Lists Subject: Re: SSH Connection Time Problems References: <200204161523.37293.metrol@metrol.net> From: Dag-Erling Smorgrav Date: 17 Apr 2002 00:32:36 +0200 In-Reply-To: <200204161523.37293.metrol@metrol.net> Message-ID: Lines: 22 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/21.1 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-security@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org "Michael W. Collette" writes: > Recently I have had some problems with getting an SSH connection from my > FreeBSD 4.5-Stable box to my web hosting company's servers, also running > FreeBSD. It takes over a minute to establish a connection, which is really > mucking up the tunnelling of services I have going to them. The most likely cause is a problem with the reverse DNS for the IP address you're coming from (either your IP address doesn't have a reverse DNS entry, or the web server is unable to look it up). Try this once you're logged in on the web server: /bin/sh -c 'host ${SSH_CLIENT%% *}' (mind the space before the star!) If your reverse DNS is working, this should print out a single line almost immediately; if it hangs for more than a few seconds, you have a DNS problem. DES -- Dag-Erling Smorgrav - des@ofug.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message