From owner-ssh@clinet.fi  Fri May 18 00:30:58 2001
Received: from smtp1.clinet.fi (smtp1.clinet.fi [194.100.2.57])
	by hutcs.cs.hut.fi (8.9.3/8.9.3) with ESMTP id AAA26111
	for <ssh-archiver@cs.hut.fi>; Fri, 18 May 2001 00:30:58 +0300 (EET DST)
Received: from mail.clinet.fi (mail.clinet.fi [194.100.0.7])
	by smtp1.clinet.fi (Postfix) with ESMTP
	id 7D6EB201A7; Fri, 18 May 2001 00:30:51 +0300 (EEST)
Received: (from majordom@localhost)
	by mail.clinet.fi (8.9.3/8.9.3) id XAA12861
	for ssh-outgoing; Thu, 17 May 2001 23:57:53 +0300
Received: from urdvg001.cms.usa.net (urdvg001.cms.usa.net [165.212.11.1])
	by mail.clinet.fi (8.9.3/8.9.3) with SMTP id XAA12856
	for <ssh@clinet.fi>; Thu, 17 May 2001 23:57:51 +0300
Received: (qmail 15148 invoked from network); 17 May 2001 20:57:50 -0000
Received: from uadvg137.cms.usa.net (165.212.11.137)
  by corprelay.cms.usa.net with SMTP; 17 May 2001 20:57:50 -0000
Received: (qmail 19218 invoked by uid 0); 17 May 2001 20:57:49 -0000
Received: from jadelman [66.100.101.18] by cm37
	(ASMTP/jadelman@denalii.com) via mtad (53CM.0401.1.03) 
	with ESMTP id 016Fequ6W0165M37; Thu, 17 May 2001 20:57:48 GMT
From: "Jesse Adelman" <jesse@denalii.com>
To: <ssh@clinet.fi>
Subject: No shell access?
Date: Thu, 17 May 2001 13:55:16 -0700
Message-ID: <HMEMJCIMDNFOOAEFBLDDCEBICAAA.jesse@denalii.com>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0)
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200
Sender: owner-ssh@clinet.fi
Precedence: bulk

Hello, good SSH users and developers. I need to set up SSH such that users
can scp and sftp but NOT log in to a shell. I've attempted to set a shell as
/bin/<doesnotexist>, but that breaks SSH generally, including scp and sftp.
What is the best/preferred method for disabling shell access and allowing
scp and sftp to work?

Systems used: RH Linux, Solaris 8

Thanks in advance,

Jesse Adelman
Sr. Systems Engineer
Denalii, Inc.

