Restrict commands available in an SFTP session
peter at stuge.se
Fri Feb 10 00:35:53 EST 2012
Sonja Meyer wrote:
> i am using SFTP with CHROOT. I want to allow my users that they can
> upload and download with the sftp server, but they should never do
> an MKDIR!
> Is it possible to restrict commands and how can i do this?
sftp-server has no provisions for this.
> i only found material of modifing the source...and that is not the
> best way for me.
Maybe you can work with filesystem permissions and ACLs.
More information about the openssh-unix-dev