From owner-freebsd-stable Sun Jul 8 8:59: 9 2001 Delivered-To: freebsd-stable@freebsd.org Received: from host213-123-129-181.btopenworld.com (host213-123-129-181.btopenworld.com [213.123.129.181]) by hub.freebsd.org (Postfix) with ESMTP id 65FFC37B408 for ; Sun, 8 Jul 2001 08:59:06 -0700 (PDT) (envelope-from dominic@host213-123-129-181.btopenworld.com) Received: by host213-123-129-181.btopenworld.com (Postfix, from userid 1000) id 22DE34A7; Sun, 8 Jul 2001 16:59:21 +0100 (BST) Date: Sun, 8 Jul 2001 16:59:21 +0100 From: Dominic Marks To: freebsd-stable@freebsd.org Subject: Re: Jail issues with -STABLE Message-ID: <20010708165921.C54379@btinternet.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.2.5i Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, On Sun, Jul 08, 2001 at 05:24:30PM +0200, Oliver Fromme wrote: > Try »ssh -v ...« to get verbose output. Then you can see > where exactly it hangs. I guess it tries to make a reverse > DNS lookup. Do you have DNS configured correctly inside > the jail? # ssh -v -p 2022 administrator@10.0.0.137 SSH Version OpenSSH_2.3.0 green@FreeBSD.org 20010321, protocol versions 1.5/2.0. Compiled with SSL (0x0090601f). debug: Reading configuration data /etc/ssh/ssh_config debug: ssh_connect: getuid 0 geteuid 0 anon 0 debug: Connecting to (null) [10.0.0.137] port 2022. (then it hangs here...) When I try and ssh to localhost I get a line like: # ... debug: Connecting to localhost [127.0.0.1] port 22. debug: Allocated local port 1016. debug: Connection established. So it does appear that it is not resolving the hostname. I have the ip address 10.0.0.137 mapped to the name, 'atlas' in /etc/hosts, evidently this is not enough. Inside the jail the hostname is also 'atlas' and resolves to 10.0.0.137 as well. Is there something else I need to do? > Regards > Oliver Thanks! Dominic Marks To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message