[CentOS] RE: chroot over ssh
prelude_2_murder at yahoo.co.uk
Thu Nov 16 00:54:32 UTC 2006
--- Brian Marshall <brian at smiz.biz> wrote:
> I have a file server that has ssh on a public IP. We've been using
> over ssh to get to the server, but since it's sshd the users can see
> 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
You can setup a chrooted ssh without any problem and another ssh
outside the chroot for administration, but you'll need to run each one
on a different port (or see the suggestions about running two ssh
daemons on the same machine before on the list).
> CentOS mailing list
> CentOS at centos.org
Send instant messages to your online friends http://uk.messenger.yahoo.com
More information about the CentOS