vi /etc/ssh/sshd_config
Port 8000
PasswordAuthentication no
AllowAgentForwarding no
AllowTcpForwarding no
Subsystem sftp internal-sftp
Match Group sftp
X11Forwarding no
AllowTcpForwarding no
ChrootDirectory /opt/sftpdata/%u
ForceCommand internal-sftp