Operating System : CentOS Linux 7 (Core) File Manager : Thunar 1.6.16
Trying to achieve : Users should not copy files to other servers via SFTP. But the blocking mechanism should not block users from do ssh to this machine.
Things I done :
sftp
Binary removed from this PC- Commented below line in
/etc/ssh/sshd_config
and restartedsshd
service Subsystem sftp /usr/libexec/openssh/sftp-server
Tried all these, but still users are able to connect to SFTP Server by giving address like ftp://server-ip
in File Manager ( Please see below picture)