Date: Sat, 4 May 2019 09:15:06 -0400 From: Greg Veldman <freebsd@gregv.net> To: "Dr. Nikolaus Klepp" <dr.klepp@gmx.at> Cc: freebsd-questions@freebsd.org Subject: Re: SSH to jail opens host? Message-ID: <20190504131506.GO42338@aurora.gregv.net> In-Reply-To: <201905040829.32960.dr.klepp@gmx.at> References: <CABx9NuSbpz7-Dec6wDKWNBCNDiKyS2iDbtZihke5LCB7UtRSxg@mail.gmail.com> <201905040829.32960.dr.klepp@gmx.at>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, May 04, 2019 at 08:29:32AM +0200, Dr. Nikolaus Klepp wrote: > Anno domini 2019 Fri, 3 May 23:09:19 -0700 > Russell Haley scripsit: > > Hi, > > > > This is so embarrassing. I've got a bunch of jails that I created some time > > ago using iocell that work just fine. I've just tried to create a new jail > > and every time I try to ssh into it, instead of going to the jail, it takes > > me back to my host. > > > > I say I've created "a" new jail but I've tried this a couple of times now, > > each with a different ip4_addr. Does anyone know what stupid thing I have > > missed or done that would cause this? > > > > I can provide more background but I'm not sure what kind of background to > > give? Any suggestions would be grand. > > Just for clearification: ech jail has it's own address, all addresses are uniq, and the jails sshd is up and running? And you'll probably also want to set ListenAddress in the sshd_config on both the host and the jail(s) so that each daemon only listens on its own host IP. -- Greg Veldman freebsd@gregv.net
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20190504131506.GO42338>