Re: CHROOT for SSH



On Mon, 2011-01-03 at 18:33 +0100, Luc MAIGNAN wrote:
Hi,

I gave an SSH access to my server to somebody. But I want (and only for
him) "chroot" him to its home.

What is the easiest way to do this ?

As a simpler-to-configure alternative, depending on your use case, a
restricted shell might meet the need (see RESTRICTED SHELL on the
manpage for bash). You can lock down the user's search path and so forth
that way (but watch out for the capabilities of commands she can run).

-Chris


--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines