JAIL and SSH out?
Scot W. Hetzel
hetzels at westbend.net
Fri Aug 8 08:47:12 PDT 2003
From: <PaperTiger at 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
More information about the freebsd-current
mailing list