From owner-freebsd-questions@FreeBSD.ORG Sun Nov 13 23:25:14 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EDADE106564A for ; Sun, 13 Nov 2011 23:25:14 +0000 (UTC) (envelope-from perryh@pluto.rain.com) Received: from agora.rdrop.com (agora.rdrop.com [IPv6:2607:f678:1010::34]) by mx1.freebsd.org (Postfix) with ESMTP id CD2C18FC14 for ; Sun, 13 Nov 2011 23:25:14 +0000 (UTC) Received: from agora.rdrop.com (66@localhost [127.0.0.1]) by agora.rdrop.com (8.13.1/8.12.7) with ESMTP id pADNPDOk099329 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sun, 13 Nov 2011 15:25:14 -0800 (PST) (envelope-from perryh@pluto.rain.com) Received: (from uucp@localhost) by agora.rdrop.com (8.13.1/8.12.9/Submit) with UUCP id pADNPDx8099322; Sun, 13 Nov 2011 15:25:13 -0800 (PST) Received: from fbsd81 ([192.168.200.81]) by pluto.rain.com (4.1/SMI-4.1-pluto-M2060407) id AA28690; Sun, 13 Nov 11 15:03:06 PST Date: Sun, 13 Nov 2011 22:02:53 -0800 From: perryh@pluto.rain.com To: m.seaman@infracaninophile.co.uk Message-Id: <4ec0af0d.Jvu/Cnyj86sUAYPW%perryh@pluto.rain.com> References: <1321152864.63708.YahooMailNeo@web122210.mail.ne1.yahoo.com> <4EBF8CAD.8000003@infracaninophile.co.uk> In-Reply-To: <4EBF8CAD.8000003@infracaninophile.co.uk> User-Agent: nail 11.25 7/29/05 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: rockstar01@y7mail.com, freebsd-questions@freebsd.org Subject: Re: How to login to my jail from host itself (normal user) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Nov 2011 23:25:15 -0000 Matthew Seaman wrote: > If you can rely on your user to follow instructions, then you > can just tell them to 'ssh jailhost' immediately they login to > the host ... Might it work equally well, and avoid the dependency on following instructions, to put exec ssh jailhost in this user's .login on the real host?