Re: allow only sftp?
From: Jean-Jacques DOTI (firstname.lastname@example.org)
Date: Fri, 11 Apr 2003 10:53:28 +0200 From: Jean-Jacques DOTI <email@example.com> To: firstname.lastname@example.org
The best way I've found to do this (with openssh) is to use rssh
(http://www.pizzashack.org/rssh/index.shtml) as login shell. It's
possible to restrict ssh to scp or/and sftp.
rssh also makes easy to have a chroot jail for scp/sftp users (common
jail for all users).
If you want to have per user chroot jail, you can use patched openssh
(http://chrootssh.sourceforge.net/) or wait for the next rssh version ...
Rex Binns wrote:
>I need to allow a user only sftp access, but deny them ssh access?
>Is this possible, and if so, how do I do it?