Anonymous FTP Should be considered a security concern and should be enabled only if it is absolutely necessary. Also, to allow FTP to work properly in a chroot environment, make sure that the file system containing the FTP home directory is not mounted as nosuid.
OpenSSH SFTP chroot()
only accounts that need access sftp
OpenSSH 4.8p1 minimal version supported
I made the following changes to /etc/ssh/sshd_config file:
#Subsystem sftp /usr/local/libexec/sftp-server
Subsystem sftp internal-sftp
Match user "user_transfer"