From Rude Cheetah, 2 Weeks ago, written in Plain Text.
  1. SubSystem sftp internal-sftp
  2.  
  3. Match group sftponly
  4.      PubkeyAuthentication no
  5.      PasswordAuthentication yes
  6.      ChrootDirectory /data/%u
  7.      X11Forwarding no
  8.      AllowTcpForwarding no
  9.      ForceCommand internal-sftp
captcha