Ubuntu - SFTP - Limit OpenSSH to SFTP Server Access

Prevent users from having shell access and running commands by setting their home directory to /dev/null and setting their shell to /usr/bin/false.