From owner-freebsd-questions@FreeBSD.ORG Thu May 3 14:07:36 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 A0DDA16A406 for ; Thu, 3 May 2007 14:07:36 +0000 (UTC) (envelope-from a@jenisch.at) Received: from srvdmz13.oekb.co.at (srvdmz13.oekb.co.at [143.245.5.103]) by mx1.freebsd.org (Postfix) with ESMTP id DF4AB13C4BE for ; Thu, 3 May 2007 14:07:35 +0000 (UTC) (envelope-from a@jenisch.at) X-SEF-Processed: 5_0_0_910__2007_05_03_16_07_33 X-SEF-7853D99-ADF1-478E-8894-213D316B8FFA: 1 Received: from msc01-n1 [143.245.2.187] by srvdmz13.oekb.co.at - SurfControl E-mail Filter (5.2.1); Thu, 03 May 2007 16:07:33 +0200 Received: from aurora.oekb.co.at ([143.245.9.16]) by MAIL1.oekb.co.at with Microsoft SMTPSVC(6.0.3790.2499); Thu, 3 May 2007 16:07:33 +0200 Received: from aurora.oekb.co.at (localhost.oekb.co.at [127.0.0.1]) by aurora.oekb.co.at (8.13.8/8.13.8) with ESMTP id l43E7XIs003357 for ; Thu, 3 May 2007 16:07:33 +0200 (CEST) (envelope-from a@jenisch.at) Received: (from ej@localhost) by aurora.oekb.co.at (8.13.8/8.13.8/Submit) id l43E7XIj003356 for freebsd-questions@freebsd.org; Thu, 3 May 2007 16:07:33 +0200 (CEST) (envelope-from a@jenisch.at) X-Authentication-Warning: aurora.oekb.co.at: ej set sender to a@jenisch.at using -f Date: Thu, 3 May 2007 16:07:33 +0200 From: Ewald Jenisch To: freebsd-questions@freebsd.org Message-ID: <20070503140733.GA3332@aurora.oekb.co.at> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.2i X-OriginalArrivalTime: 03 May 2007 14:07:33.0598 (UTC) FILETIME=[6530BFE0:01C78D8C] Subject: 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:07:36 -0000 Hi, I'm looking for a way to securely transfer files between machines using either scp or sftp without giving the user a login shell on the target machine. Put in another way: The user should be able to transfer files but must not have an interactive login shell on the target box. 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? Thanks in advance for your help, -ewald