This guide explains how to setup Chrooted SFTP to allow the users to connect through SFTP, but not allow them to connect through SSH in Linux.
This guide explains what is SFTPGo, how to install SFTPGo in Linux, and how to setup a SFTP server with SFTPGo in Linux.