S
S
sequelsur2021-08-02 15:05:43
SSH
sequelsur, 2021-08-02 15:05:43

Is there a working instruction to give the user ssh access to only one folder "/var/www/html/direcorty"?

Hello, I can’t find a working and at the same time understandable instruction so that you can create a user and give him access to read create edit to only one folder /var/www/html/direcory via SSH. So that the user could not even leave this folder.
Thanks in advance!

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexander Karabanov, 2021-08-02
@karabanov

Make /var/www/html/direcory the user's home directory.
Give the user SSH access.
Everything.

D
DollyPapper, 2021-08-03
@DollyPapper

Use ssh chroot jail. For example this instruction

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question