Jails appear to be working differently in 8.0 compared with 7.x (due to the networking changes in 8 most likely). Anyway, I've created a jail in 8.0 and given it it's own IPv4 IP address. Problem is, when I attempt to SSH to this jail IP address, I'm arriving in the host environment, and not the jailed environment. In 7.x I would have landed inside the jail.... so what's going on in 8? Hopefully someone who has already solved this issue can help me out a bit.
On Mon, 14 Dec 2009, Nathan Butcher wrote:> Jails appear to be working differently in 8.0 compared with 7.x (due to > the networking changes in 8 most likely). > > Anyway, I've created a jail in 8.0 and given it it's own IPv4 IP > address. Problem is, when I attempt to SSH to this jail IP address, I'm > arriving in the host environment, and not the jailed environment. > > In 7.x I would have landed inside the jail.... so what's going on in 8? > Hopefully someone who has already solved this issue can help me out a bit.It may sound silly but can you confirm that sshd is running inside the jail? Also, how did you start the jail? jls -av output might be interesting. /bz PS: there is a freebsd-jail list as well. -- Bjoern A. Zeeb It will not break if you know what you are doing.
On Mon, 14 Dec 2009 14:34:44 +0900 Nathan Butcher <n-butcher@fusiongol.com> wrote:> Jails appear to be working differently in 8.0 compared with 7.x (due to > the networking changes in 8 most likely). > > Anyway, I've created a jail in 8.0 and given it it's own IPv4 IP > address. Problem is, when I attempt to SSH to this jail IP address, I'm > arriving in the host environment, and not the jailed environment.Sounds like your host sshd is still listening on the ssh port of the IP address of your jail. Check your ListenAddress option in /etc/ssh/sshd_config. Manfred -- Manfred Usselmann <usselmann.m@icg-online.de> ICG IT Consulting GmbH, Kelkheim
Did you make sure you tightly binded sshd on the host. Regards Steve ----- Original Message ----- From: "Nathan Butcher" <n-butcher@fusiongol.com>> Jails appear to be working differently in 8.0 compared with 7.x (due to > the networking changes in 8 most likely). > > Anyway, I've created a jail in 8.0 and given it it's own IPv4 IP > address. Problem is, when I attempt to SSH to this jail IP address, I'm > arriving in the host environment, and not the jailed environment. > > In 7.x I would have landed inside the jail.... so what's going on in 8? > Hopefully someone who has already solved this issue can help me out a bit.===============================================This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. In the event of misdirection, illegible or incomplete transmission please telephone +44 845 868 1337 or return the E.mail to postmaster@multiplay.co.uk.