restrict shell access in Openssh

Frank Mohr f_mohr at yahoo.de
Sat Aug 25 21:52:20 EST 2001


SAJU NAIR wrote:
> 
> Hi All,
>
> How do I restrict shell access in Openssh ? I would like to enable only sftp 
> for the users.
> Is there any dummy shell for Openssh ??
>
> Thanks in advance.
>
> Saju

I have not tried this with sftp, but I use a forced command script that
checks
the original command variable to restrict access to scp only for some
accounts

frank



More information about the openssh-unix-dev mailing list