Guest User

Untitled

a guest
Oct 12th, 2018
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. Subsystem sftp /usr/lib/openssh/sftp-server
  2.  
  3. Match User contractorsaccount
  4. # need this so they can login
  5. ChrootDirectory /home/contractorsaccount
  6. AllowTCPForwarding no
  7. X11Forwarding no
  8. ForceCommand internal-sftp
  9.  
  10.  
  11. Match Group contractors
  12. # Force the connection to use SFTP and chroot to the required directory.
  13. ForceCommand internal-sftp
  14. ChrootDirectory /var/www/html/app/
  15. AllowTcpForwarding no
  16. X11Forwarding no
Add Comment
Please, Sign In to add comment