Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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!!

share|improve this question

2 Answers 2

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.

share|improve this answer

I think this is the best one ;-)

share|improve this answer
    
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
    
as leader of the MySecureShell I suppose you would say that... :-) –  Renaud Bompuis May 16 '10 at 11:03

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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