Re: JAIL and SSH out?

From: Scot W. Hetzel <hetzels_at_westbend.net>
Date: Fri, 8 Aug 2003 10:46:54 -0500
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
Received on Fri Aug 08 2003 - 06:47:12 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:18 UTC