From owner-freebsd-questions@FreeBSD.ORG Fri Nov 21 18:46:45 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B6AF216A4CE for ; Fri, 21 Nov 2003 18:46:45 -0800 (PST) Received: from gamma.hostbyk.com (gamma.hostbyk.com [205.214.80.64]) by mx1.FreeBSD.org (Postfix) with ESMTP id E88C743FCB for ; Fri, 21 Nov 2003 18:46:44 -0800 (PST) (envelope-from jmhowell@gamma.hostbyk.com) Received: from jmhowell by gamma.hostbyk.com with local (Exim 4.24) id 1ANNnK-0006tV-53 for freebsd-questions@FreeBSD.ORG; Fri, 21 Nov 2003 19:46:46 -0700 Date: Fri, 21 Nov 2003 19:46:46 -0700 From: "Jerry M. Howell II" To: freebsd-questions@FreeBSD.ORG Message-ID: <20031121194646.A24575@jmhowell.com> References: <20031121005901.27780.h006.c009.wm@mail.corp.123india.com.criticalpath.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20031121005901.27780.h006.c009.wm@mail.corp.123india.com.criticalpath.net>; from shrikant@corp.123india.com on Fri, Nov 21, 2003 at 12:59:00AM -0800 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - gamma.hostbyk.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [32003 32060] / [47 12] X-AntiAbuse: Sender Address Domain - gamma.hostbyk.com Subject: Re: Restricting SSH access to only a users home directory..... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Nov 2003 02:46:45 -0000 On Fri, Nov 21, 2003 at 12:59:00AM -0800, shrikant@corp.123india.com wrote: > > Hi there , > > Can any body tell me how i can restrict an user SSH to his own home directory . > I am using FreeBSD OpenSSH_2.9 FreeBSD SSH protocols 1.5/2.0 . > > Any links or help will be appriciated > > Shrikant > What your refering to is a jail. I didn't do much searching but a quick google search brought this up http://docs.freebsd.org/44doc/papers/jail/jail.html I'm almost for certian the handbook on http://www.freebsd.org also has some information on this. -- Jerry M. Howell II