Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Subsystem sftp /usr/lib/openssh/sftp-server
- Match User contractorsaccount
- # need this so they can login
- ChrootDirectory /home/contractorsaccount
- AllowTCPForwarding no
- X11Forwarding no
- ForceCommand internal-sftp
- Match Group contractors
- # Force the connection to use SFTP and chroot to the required directory.
- ForceCommand internal-sftp
- ChrootDirectory /var/www/html/app/
- AllowTcpForwarding no
- X11Forwarding no
Add Comment
Please, Sign In to add comment