Posts Tagged ‘prevent sftp connections’

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: , , , ,
Posted in Information Technologies No Comments »