Re: CHROOT for SSH

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Yes you're right kevin, it's a very good solution.

But to use it, I have to  put a lot of things in the home directory 
(bash, tty, ...) with a lot a different rights.

Is there a document which lists the 'minimal' things to put to get the 
solution work ?

BR

Le 03/01/11 19:55, Kevin Fenzi a écrit :
> On Mon, 03 Jan 2011 18:33:14 +0100
> Luc MAIGNAN<luc.maignan@xxxxxxxxxxxx>  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

-- 
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



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux