From owner-freebsd-questions Mon Jun 10 4:30:28 2002 Delivered-To: freebsd-questions@freebsd.org Received: from clientmail.ehsrealtime.com (eris.ehsrealtime.com [213.52.146.130]) by hub.freebsd.org (Postfix) with ESMTP id F06EB37B476 for ; Mon, 10 Jun 2002 04:29:39 -0700 (PDT) Received: from pan.ehsrealtime.com ([213.52.146.196]) by clientmail.ehsrealtime.com with esmtp (Exim 3.33 #2) id 17HNMg-0006PF-01; Mon, 10 Jun 2002 12:29:38 +0100 Received: from byrons (helo=localhost) by pan.ehsrealtime.com with local-esmtp (Exim 3.35 #1) id 17HNMD-0000be-00; Mon, 10 Jun 2002 12:29:09 +0100 Date: Mon, 10 Jun 2002 12:29:09 +0100 (BST) From: Byron Schlemmer To: freebsd-questions@freebsd.org Subject: SFTP + Chroot Message-ID: <20020610122229.K2289-100000@pan.ehsbrann.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi folks, is there anyway to chroot sftp-server? Basically I want to do exactly this : http://www.der-keiler.de/Mailing-Lists/securityfocus/focus-linux/2001-11/0001.html but with OpenSSH. Or alternatively if I can not chroot the enviroment what about a very limiting shell similar to ssh-dummy-shell? http://www.ssh.com/support/ssh/man/ssh-dummy-shell-man.html -byron PS. I have a jail setup and I want to run sftp within a chrooted enviroment within the jail. If thats not possible I suppose I'll just have to settle with running it in the jail only. :) -- "Those who do not understand Unix are condemned to reinvent it, poorly." -- Henry Spencer To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message