How to limit groups to SFTP-only, preventing SSH logins

This is pretty straight forward, though surprisingly hard to find information about. I have tested this on CentOS 7.2 and 7.9, with OpenSSH v6.6 and v7.4. In /etc/ssh/sshd_config, add the following at the bottom: Match Group sftponly ChrootDirectory /shares/uploads AllowTCPForwarding no AllowAgentForwarding…

Coming soon

This is Spyci's Blog, a brand new site by Ricky Davis that's just getting started. Things will be up and running here shortly, but you can subscribe in the meantime if you'd like to stay up to date and receive emails when new content is published!…