Date: Fri, 8 Aug 2003 10:46:54 -0500 From: "Scot W. Hetzel" <hetzels@westbend.net> To: <PaperTiger@mail.datanet.hu>, <freebsd-current@freebsd.org> Subject: Re: JAIL and SSH out? Message-ID: <019401c35dc4$4af3f120$11fd2fd8@westbend.net> References: <0308061400510.32239-100000@BehemoT.datanet.hu>
next in thread | previous in thread | raw e-mail | index | archive | help
From: <PaperTiger@mail.datanet.hu>
> Is there a way to ssh out from a jail?
>
> jail$ ssh otherhost
> Permission denied, please try again.
> Permission denied, please try again.
> Permission denied (publickey,password).
> jail$ ssh -V
> OpenSSH_3.6.1p1 FreeBSD-20030423, SSH protocols 1.5/2.0, OpenSSL
0x0090701f
>
> jail$ mount
> ...
> devfs on /10.1.1.1/dev (devfs, local)
> ...
Yes, you can use ssh to access other systems from a jail. I currently have
4 jails runing on one host and can ssh from any of them.
jail -> remote
jail -> jailN
jail -> host
host -> jail
remote -> jail
Do you have sshd running on 'otherhost'?
Scot
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?019401c35dc4$4af3f120$11fd2fd8>
