From owner-freebsd-current@FreeBSD.ORG Fri Aug 8 08:47:12 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 901BB37B401 for ; Fri, 8 Aug 2003 08:47:12 -0700 (PDT) Received: from mail.westbend.net (ns1.westbend.net [216.47.253.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8736343F93 for ; Fri, 8 Aug 2003 08:47:11 -0700 (PDT) (envelope-from hetzels@westbend.net) Received: from ADMIN00 (admin00.westbend.net [216.47.253.17]) by mail.westbend.net (8.12.9/8.12.9) with SMTP id h78FksWZ046498; Fri, 8 Aug 2003 10:46:54 -0500 (CDT) (envelope-from hetzels@westbend.net) Message-ID: <019401c35dc4$4af3f120$11fd2fd8@westbend.net> From: "Scot W. Hetzel" To: , References: <0308061400510.32239-100000@BehemoT.datanet.hu> Date: Fri, 8 Aug 2003 10:46:54 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Virus-Scanned: by amavisd-milter (http://amavis.org/) X-Spam-Status: No, hits=-0.3 required=8.0 tests=QUOTED_EMAIL_TEXT,REFERENCES,SPAM_PHRASE_00_01, USER_AGENT_OE version=2.43 Subject: Re: JAIL and SSH out? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Aug 2003 15:47:12 -0000 From: > 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