CHROOT for SSH

Kevin Fenzi kevin at scrye.com
Mon Jan 3 18:55:03 UTC 2011


On Mon, 03 Jan 2011 18:33:14 +0100
Luc MAIGNAN <luc.maignan at winxpert.com> 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 ?

man sshd_config

and look at 'ChrootDirectory' and 'Match'. 

You should be able to Match that user or users or group and set
ChrootDirectory for them. 

kevin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
Url : http://lists.fedoraproject.org/pipermail/users/attachments/20110103/085ebd02/attachment.bin 


More information about the users mailing list