Skip site navigation (1)Skip section navigation (2)
Date:      17 Apr 2002 00:32:36 +0200
From:      Dag-Erling Smorgrav <des@ofug.org>
To:        "Michael W. Collette" <metrol@metrol.net>
Cc:        FreeBSD Mailing Lists <freebsd-security@FreeBSD.org>
Subject:   Re: SSH Connection Time Problems
Message-ID:  <xzppu0zxojf.fsf@flood.ping.uio.no>
In-Reply-To: <200204161523.37293.metrol@metrol.net>
References:  <200204161523.37293.metrol@metrol.net>

next in thread | previous in thread | raw e-mail | index | archive | help
"Michael W. Collette" <metrol@metrol.net> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?xzppu0zxojf.fsf>