Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Jul 2001 16:59:21 +0100
From:      Dominic Marks <dominic_marks@btinternet.com>
To:        freebsd-stable@freebsd.org
Subject:   Re: Jail issues with -STABLE
Message-ID:  <20010708165921.C54379@btinternet.com>

next in thread | raw e-mail | index | archive | help
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




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