R
R
Rokis2017-10-15 19:13:40
Access rights
Rokis, 2017-10-15 19:13:40

How to correctly provide access to the site to a freelancer on a VPS?

Hello.
How to securely grant access to the site to a freelancer so that he has access only to a specific directory (var/www/mysite.ru)?
I go to the server via SFTP with a key file. It costs Ubuntu 16.04. Without control panel. There is no FTP server.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
P
Puma Thailand, 2017-10-16
@Rokis

make a separate user with a cheat on this folder

A
Andrey Sanych, 2017-10-15
@mountpoint

install proftpd. It's simple. Then add the user using the command
uid and gid are usually identifiers of the www group and the user www, on behalf of which the web server is running

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question