I need to setup my Centos 5.4 server for SFTP with chrooted access only (or equivalent). The regular solution using RSSH find here : http://www.cyberciti.biz/tips/howto-linux-unix-rssh-chroot-jail-setup.html seems over-killing to me if we want to manage multiple users...
I found the project MySecureShell which seems a lot simpler to install and to maintain.
Is it a good solution? Is there something better?
Thanks!!
I looked at scponly, rssh and various other solutions involving complex configuration and chroot jails, but I found MySecureShell to be easy to configure and able to provide exactly what I needed.
It's the only shell I found that could let me hide files based on Regular Expressions. That way I can show different users different views of the same file tree.
Along with a properly configured WinSCP client, it give remote users access to their files in a well integrated and familiar environment, almost just as if they were connecting to a local file server.
Now, there are no installation packages for RedHat/CentOS, which is a shame, but installing from source is trivial. You lose the benefit of automated updates though.
I think this is the best one ;-)