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: , , , ,
Comments are closed Trackback

Comments are closed.