From owner-freebsd-questions@FreeBSD.ORG Thu May 3 14:58:11 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 015DA16A401 for ; Thu, 3 May 2007 14:58:11 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from pi.codefab.com (pi.codefab.com [199.103.21.227]) by mx1.freebsd.org (Postfix) with ESMTP id C85DB13C48C for ; Thu, 3 May 2007 14:58:10 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from localhost (localhost [127.0.0.1]) by pi.codefab.com (Postfix) with ESMTP id 5D3B45C75; Thu, 3 May 2007 10:58:10 -0400 (EDT) X-Virus-Scanned: amavisd-new at codefab.com Received: from pi.codefab.com ([127.0.0.1]) by localhost (pi.codefab.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wMSKKHIoo8lM; Thu, 3 May 2007 10:58:09 -0400 (EDT) Received: from [192.168.1.3] (pool-96-224-43-99.nycmny.east.verizon.net [96.224.43.99]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by pi.codefab.com (Postfix) with ESMTP id D96C25C25; Thu, 3 May 2007 10:58:08 -0400 (EDT) Message-ID: <4639F87D.1030306@mac.com> Date: Thu, 03 May 2007 10:58:05 -0400 From: Chuck Swiger User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) MIME-Version: 1.0 To: Ewald Jenisch References: <20070503140733.GA3332@aurora.oekb.co.at> In-Reply-To: <20070503140733.GA3332@aurora.oekb.co.at> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: scp/sftp without interactive shell? 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, 03 May 2007 14:58:11 -0000 Ewald Jenisch wrote: [ ... ] > Giving the user a shell of "/bin/true" or something similar on the > target machine is not an option since scp doesn't seem to work in this > case. > > Any ideas how this could be accomplished? Take a look at /usr/ports/shells/scponly, or "rsh" for "restricted shells", more generally. -- -Chuck