[CentOS] RE: chroot over ssh

Will McDonald wmcdonald at gmail.com
Wed Nov 15 21:47:40 UTC 2006

On 15/11/06, Brian Marshall <brian at smiz.biz> wrote:
> I have a file server that has ssh on a public IP. We've been using SCP/FTPS
> over ssh to get to the server, but since it's sshd the users can see the
> entire file system.
> The problem is that the drive mount everyone needs to get to is outside of
> their home dir. Is their anyway I can setup chroot through sshd?
> Or is it just a silly pursuit and I should just setup a proper FTPS server?

You can chroot SFTP/SCP specifically using rssh.


There are numerous tutorials and how-tos on out there chrooting actual
shells too.


More information about the CentOS mailing list