S
S
Sergey2019-07-21 18:54:55
ubuntu
Sergey, 2019-07-21 18:54:55

How to create a new SFTP user on ubuntu 18.04?

You need to give SFTP access. How to create a user so that he only has access to the /usr/share/nginx/prime directory ?
Make access to SSH and other operations impossible.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Karabanov, 2019-07-21
@goodwin74

For example How To Enable SFTP Without Shell Access on Ubuntu
But in general I think it will be enough to specify /bin/false as a shell

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question