How to disable SFTP connections
To disable SFTP connections and keep alive SSH connections, just comment out this line from your /etc/ssh/sshd_config file
#Subsystem sftp /usr/libexec/openssh/sftp-server
Remember to restart your ssh service
/etc/init.d/sshd restart
Tags: disable sftp, disable sftp enable ssh, prevent sftp, prevent sftp connections, stop sftp
Posted in Information Technologies No Comments »