From owner-freebsd-questions@FreeBSD.ORG Thu May 17 22:47:42 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A04F716A406 for ; Thu, 17 May 2007 22:47:42 +0000 (UTC) (envelope-from marcelo.maraboli@usm.cl) Received: from sith.usm.cl (sith.usm.cl [200.1.21.112]) by mx1.freebsd.org (Postfix) with ESMTP id DD77113C455 for ; Thu, 17 May 2007 22:47:41 +0000 (UTC) (envelope-from marcelo.maraboli@usm.cl) Received: from jedi.usm.cl (jedi.usm.cl [200.1.21.110]) by sith.usm.cl (8.13.5/8.13.5) with ESMTP id l4HMlbWH098253 for ; Thu, 17 May 2007 18:47:37 -0400 (CLT) (envelope-from marcelo.maraboli@usm.cl) Received: from [192.168.1.127] (wlanbib1.campus.utfsm.cl [200.1.27.8]) (user=marcelo.maraboli mech=PLAIN bits=0) by jedi.usm.cl (8.13.4/8.13.4) with ESMTP id l4HMlap9068022 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 17 May 2007 18:47:37 -0400 (CLT) (envelope-from marcelo.maraboli@usm.cl) Message-ID: <464CDB88.3050103@usm.cl> Date: Thu, 17 May 2007 18:47:36 -0400 From: Marcelo Maraboli User-Agent: Thunderbird 2.0.0.0 (Windows/20070326) MIME-Version: 1.0 CC: FreeBSD Questions References: <226ae0c60705100635i14c36f59ha731bca6648d37b7@mail.gmail.com> In-Reply-To: <226ae0c60705100635i14c36f59ha731bca6648d37b7@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Flag: NO X-Scanned-By: milter-spamc/0.25.321 (sith.usm.cl. [200.1.21.112]); Thu, 17 May 2007 18:47:39 -0400 X-Spam-Status: NO, hits=-4.30 required=3.00 X-Spam-Level: X-Virus-Scanned: ClamAV 0.88.2/3267/Thu May 17 16:40:58 2007 on sith.usm.cl X-Virus-Status: Clean Subject: Re: scponly chroot doesn?t work FB6.2 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: Thu, 17 May 2007 22:47:42 -0000 Hello all I would like to thank david.robillard and j65nko for their efforts in trying to help with this problem. I finally got a working solution. The problem is not "scponly" nor "rssh" but the CHROOT jail implementation in FreeBSD 6.2, since the ONLY solution to both problems are solved by a series of commands to enable a proper "/dev" subdirectory inside the jail.. RSSH works ver good for a SCP, SFTP, RSYNC only environment.. Solution at: http://www.artofindo.com/~teaone/rssh.html best regards, David Robillard wrote: >> I canīt seem to make scponly work with a chrooted jail. Iīve >> read many articles on how FREEBSDīs scripts on making jails >> really donīt work and a manual mknod of $jail/dev/null must >> be done, but it still doesīt work... >> >> Iīd appreciate any help > > You might want to check out the port shells/rssh instead of shells/scponly. > > http://www.freebsd.org/cgi/url.cgi?ports/shells/rssh/pkg-descr > > I'm not sure it does exactly what you're looking for, but it has > similar features as scponly. > > HTH, > > David -- MSc. Marcelo Maraboli Rosselott Jefe Area de Redes y Comunicaciones (Network & UNIX Systems Engineer) Ingeniero Civil Electronico, CISSP (MSc., Electronic Engineer, CISSP) Direccion Central de Servicios Computacionales (DCSC) Universidad Tecnica Federico Santa Maria phone: +56 32 2654071 Chile. http://www.usm.cl http://elqui.dcsc.utfsm.cl