I'm starting a very little hosting company for a few friends and little clients, nothing big.
I want to give my "clients" the right to manage their files on the server. I hate FTP as it is not secure and it's in my opinion obsolete.
So I'd like to allow my users to connect through SFTP but not allow them to connect through SSH. (I know, I know, SFTP is using SSH). But I was just wondering, is it possible?
So I wouldn't have to install a FTP service on the server and everything would be awesome!
sudo groupmems -lg sftponly | sudo xargs -n1 usermod -s /bin/false– copycat Feb 17 '21 at 23:13matchentries override statements at the global level. Which exact line under thematchblocks other users? Is there any difference with putting all configs at the top level and then using explicitDenyGroups !sftponlyto block other users? Why your approach is better? – Nakamoto Feb 02 '24 at 19:34