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?



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 ;-)

  • 1
    Why is it the best one? – benjisail Mar 9 '10 at 10:56
  • 1
    Because it doesn't touch any SSH binary, it's simply a shell. Because it is the only one to get so many ACL, because the configuration is very simple and scalable. – Deimosfr Mar 10 '10 at 15:47
  • 1
    as leader of the MySecureShell I suppose you would say that... :-) – Renaud Bompuis May 16 '10 at 11:03

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.