How To Enable SFTP Without Shell Access on Ubuntu 20.04
In a standard configuration, the SSH server grants file transfer access and terminal shell access to all users with an account on the system. In this tutorial, we’ll set up the SSH daemon to limit SFTP access to one directory with no SSH access allowed on per user basis on an Ubuntu 20.04 server.