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?
>
>thanks
>
>
>
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?
>
>thanks
>
>
>
[ reply ]