[CentOS] RE: chroot over ssh
first last
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
> 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 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).
Gabriel
> Thanks
>
>
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
Send instant messages to your online friends http://uk.messenger.yahoo.com
More information about the CentOS
mailing list