How to Restrict a User's Access Using SFTP?

Brian Cluff brian at snaptek.com
Wed Dec 28 06:53:12 MST 2011


Take a look at the rssh package, it has the ability to put users into a 
chroot jail as well as restrict them to only being able to use certain 
commands like sftp.
See the README in /usr/share/doc/rssh for details on how to set the 
chroot jail up.

Brian Cluff

On 12/27/2011 10:46 PM, Mark Phillips wrote:
> I need to give a user access to my web server via sftp to upload web
> site changes. What is the best way to do this? I have several other
> sites on the same server, so I want to prevent them or anyone else who
> gains access to their account from being able to make changes to those
> sites or other parts of the server.
>
> Thanks,
>
> Mark
>
>
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss at lists.plug.phoenix.az.us
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss



More information about the PLUG-discuss mailing list