Re: limiting shell access with ssh, allowing sftp
From: Burak Bilen (bilen_at_metu.edu.tr)
Date: Fri, 26 Mar 2004 11:59:00 +0200 To: Lech Lobocki <Lech.Lobocki@is.pw.edu.pl>
with ssh-3.2.9 you set the user's shell as
/usr/local/bin/ssh-dummy-shell (or whatever your path) instead of
/bin/bash or /bin/sh. Then this user can only use sftp; no shell access.
I hope the same thing applies to openssh.
Lech Lobocki wrote:
> I would like to disable remote shell access via OpenSSH for a certain
> group of users, while still
> allowing them to use the sftp service. Is there a way to do so?
> Lech Lobocki,
> Warsaw University of Technology