Run SFTP without shell access on Ubuntu 20.04

The tutorial below describes how to get SFTP running without shell access on Ubuntu 20.04

We will do the whole thing by issuing a few commands in the console.

First, we add a user:

We create a directory for storing files and give permissions:

We give the user access to the files and directory with files:

We edit the ssh configuration file:

And we add at the end:

Save the file and restart sshd

Everything should work, that's all 🙂

How useful this post was?

Click on the star, to evaluate it!

Average grade / 5. number of votes:

So far, no votes! Be the first to rate this post.