From owner-freebsd-stable@FreeBSD.ORG Wed Oct 3 16:58:00 2007 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EDF0816A418 for ; Wed, 3 Oct 2007 16:58:00 +0000 (UTC) (envelope-from delphij@delphij.net) Received: from tarsier.geekcn.org (tarsier.geekcn.org [210.51.165.229]) by mx1.freebsd.org (Postfix) with ESMTP id 952B213C48E for ; Wed, 3 Oct 2007 16:58:00 +0000 (UTC) (envelope-from delphij@delphij.net) Received: from localhost (tarsier.geekcn.org [210.51.165.229]) by tarsier.geekcn.org (Postfix) with ESMTP id 80F90EB8D39; Thu, 4 Oct 2007 00:57:59 +0800 (CST) X-Virus-Scanned: amavisd-new at geekcn.org Received: from tarsier.geekcn.org ([210.51.165.229]) by localhost (mail.geekcn.org [210.51.165.229]) (amavisd-new, port 10024) with ESMTP id CKaRx67gv3cu; Thu, 4 Oct 2007 00:57:52 +0800 (CST) Received: from LI-Xins-MacBook.local (71.5.7.139.ptr.us.xo.net [71.5.7.139]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tarsier.geekcn.org (Postfix) with ESMTP id B4729EB8111; Thu, 4 Oct 2007 00:57:51 +0800 (CST) DomainKey-Signature: a=rsa-sha1; s=default; d=delphij.net; c=nofws; q=dns; h=message-id:date:from:reply-to:organization:user-agent: mime-version:to:cc:subject:references:in-reply-to: x-enigmail-version:openpgp:content-type; b=UuxXjEnOJl8wKM1zxrlAnG0DJAvKMCKUa93xLWeL/cdef6qBYDYA83vLXt5wKZB3H Xy99z4mdztcDd99rcSFAQ== Message-ID: <4703CA06.7050103@delphij.net> Date: Wed, 03 Oct 2007 09:57:42 -0700 From: LI Xin Organization: The FreeBSD Project User-Agent: Thunderbird 2.0.0.6 (Macintosh/20070728) MIME-Version: 1.0 To: Tom Evans References: <1191428709.1475.26.camel@localhost> In-Reply-To: <1191428709.1475.26.camel@localhost> X-Enigmail-Version: 0.95.3 OpenPGP: url=http://www.delphij.net/delphij.asc Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="------------enigB60E07C58255E25561DAFAC4" Cc: freebsd-jail@freebsd.org, freebsd-stable@freebsd.org Subject: Re: Cannot ssh from jail X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: d@delphij.net List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Oct 2007 16:58:01 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigB60E07C58255E25561DAFAC4 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Tom Evans wrote: > Hi stable@, jail@ [jail@ plz cc me as I'm not subscribed] >=20 > I'm having some problems setting up some jails for semi-isolated > development (ie, so we can isolate the developers into a jail, give the= m > all the root access they want, and not worry about them blowing up more= > than their own jail) on 6.2-RELEASE-p5. >=20 > I have set up a jail, using ezjail, which appeared to work fine. I can > start the jail, and use jexec to spawn a shell inside the jail. However= , > if I then try to ssh from the jail to another box, ssh fails with the > error message (with -v): I think the problem is that if you jexec into a jail then you don't have a TTY at hand, so bad things would happen. If you login into the jail by some ways (e.g. by ssh or telnet or whatever that spawns a TTY for you) then it would work I bet. Cheers, --=20 Xin LI http://www.delphij.net/ FreeBSD - The Power to Serve! --------------enigB60E07C58255E25561DAFAC4 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHA8oGOfuToMruuMARCrr6AJ93qQaz7pes3ieRPbRZoo9ztKtBHQCeMa1V FVUn/Y4bhYMbcEHA/ruYDf4= =ha12 -----END PGP SIGNATURE----- --------------enigB60E07C58255E25561DAFAC4--