Creating Sftp Only Account

Summary Let’s say you want to have an account to backup to on another server. Perhaps you want to host one, or, simply give some space to a friend for storing a few things. Ideally, the user would not be able to login and poke around for security purposes. They would be able to sftp only, but no shell access, and, they shouldn’t be able to view outside of their home directory.