0

I want to give SFTP access to a particular user but would like to jailroot it so that her view is limited to only her home directory. For the rest of the users of the system, it should remain as normal.

Is it possible?

3 Answers 3

6

The 'match' feature in sshd_config allows you to specify rules based on group membership or username.

Match user joe
ChrootDirectory /storage/public
ForceCommand /usr/libexec/sftp-server
1

You can also look at MySecureShell : http://mysecureshell.sourceforge.net

0

Sure, take a look at rssh. Here's a good how-to I was reading the other day: http://www.cyberciti.biz/tips/rhel-centos-linux-install-configure-rssh-shell.html

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .