From owner-freebsd-hackers@FreeBSD.ORG Mon Nov 14 13:35:51 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3A81616A41F for ; Mon, 14 Nov 2005 13:35:51 +0000 (GMT) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (arm132.internetdsl.tpnet.pl [83.17.198.132]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6C41C43D46 for ; Mon, 14 Nov 2005 13:35:48 +0000 (GMT) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id 4E49952D5E; Mon, 14 Nov 2005 14:35:45 +0100 (CET) Received: from localhost (pjd.wheel.pl [10.0.1.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id 9A9B652D60; Mon, 14 Nov 2005 14:35:35 +0100 (CET) Date: Mon, 14 Nov 2005 14:35:20 +0100 From: Pawel Jakub Dawidek To: Koen Martens Message-ID: <20051114133520.GA42544@garage.freebsd.pl> References: <20051112121343.94908.qmail@web60322.mail.yahoo.com> <43766A0A.9060105@metro.cx> <4377A15D.7060100@metro.cx> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="tKW2IUtsqtDRztdT" Content-Disposition: inline In-Reply-To: <4377A15D.7060100@metro.cx> X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 7.0-CURRENT i386 User-Agent: mutt-ng/devel-r535 (FreeBSD) X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-5.9 required=3.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.0.4 Cc: freebsd-hackers@freebsd.org, d c Subject: Re: SSH From within a Jail X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Nov 2005 13:35:51 -0000 --tKW2IUtsqtDRztdT Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Nov 13, 2005 at 09:26:05PM +0100, Koen Martens wrote: +> Just remembered something else: do you jexec into the jail, or do +> you do a proper logon (eg. ssh into the jail). I think that if you +> jexec into the jail and then try to ssh, you might have a problem +> because you aren't really logged in to the jail and thus have no +> (psuedo) tty associated with your session.. I just saw this thread. Yes, you are right, I can confirm this. To be able to ssh to another server from within a jail, you need to log in to the jail properly (have access to your terminal), so jexec won't work here. Try to ssh into the jail and then ssh to another box. --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --tKW2IUtsqtDRztdT Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDeJKYForvXbEpPzQRAlwhAKCpl19T6GIGqC44Ks1ZIr5lLNYmpQCgzVu6 DjQa4y7DeqqnitYu8g2RaEo= =kym1 -----END PGP SIGNATURE----- --tKW2IUtsqtDRztdT--