Re: allow only sftp?
From: olaf weiser (email@example.com)
Date: Mon, 14 Apr 2003 08:51:00 +0200 From: olaf weiser <firstname.lastname@example.org> To: email@example.com
HI., to all,
another idea: implement an "exit" on the first line in the .profile of
the user, so this user only can login via ftp and not via a shell...
Jean-Jacques DOTI wrote:
> 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?