From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Klas Erlandsson Newsgroups: gmane.os.tru64.managers Subject: SUMMARY: Resticted sftp Date: Fri, 19 Jul 2002 14:28:46 +0200 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <28D0CC2D31BCD511ADFB00508BDF4AF60718A944@newton.europolitan.se> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: main.gmane.org 1027082960 30495 127.0.0.1 (19 Jul 2002 12:49:20 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 19 Jul 2002 12:49:20 +0000 (UTC) Return-path: Original-Received: from sws1.ctd.ornl.gov ([160.91.20.101]) by main.gmane.org with smtp (Exim 3.33 #1 (Debian)) id 17VXCB-0007vj-00 for ; Fri, 19 Jul 2002 14:49:19 +0200 Original-Received: (qmail 14518 invoked by uid 5); 19 Jul 2002 12:29:20 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 14510 invoked from network); 19 Jul 2002 12:29:19 -0000 Original-Received: from unknown (HELO emroute1.cind.ornl.gov) (134.167.3.119) by 0 with SMTP; 19 Jul 2002 12:29:19 -0000 Original-Received: from emroute1.cind.ornl.gov (localhost [127.0.0.1]) by emroute1.cind.ornl.gov (PMDF V6.1-1 #39060) with ESMTP id <0GZH004MKXCQB6@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Fri, 19 Jul 2002 08:29:19 -0400 (EDT) Original-Received: from wallstreet.vodafone.se (wallstreet.vodafone.se [217.174.65.61]) by emroute1.cind.ornl.gov (PMDF V6.1-1 #39060) with ESMTP id <0GZH00AA2XCN47@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Fri, 19 Jul 2002 08:29:12 -0400 (EDT) Original-Received: from terminator2.europolitan.se (epmx [217.174.65.5]) by wallstreet.vodafone.se (8.11.2/8.11.2) with SMTP id g6JCSnV08001 for ; Fri, 19 Jul 2002 14:28:54 +0200 (MET DST) Original-Received: FROM isaac.europolitan.se BY terminator2.europolitan.se ; Fri Jul 19 14:28:49 2002 +0200 Original-Received: by isaac.europolitan.se with Internet Mail Service (5.5.2653.19) id <31BP3S08>; Fri, 19 Jul 2002 14:28:49 +0200 Original-To: "'tru64-unix-managers@ornl.gov'" X-Mailer: Internet Mail Service (5.5.2653.19) Xref: main.gmane.org gmane.os.tru64.managers:1019 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:1019 Hi! I didn't realy get the solution I wanted but after some Internet surfing I found a product that solved my problems. I had to replace OpenSSH with a commercial Ssh product (www.ssh.com). I now use OpenSSH on my clients and the commercial SSH on the secure ftp server. Original question ------------------ Does anyone know how to restrict users from "leaving their homedirectory" when using sftp (OpenSSH) like when you are using restricted ksh? I have managed to block the users from getting a login shell with ssh and now I don't whant them "walking" around in the filesystem with sftp. /Klas Erlandsson