daily pastebin goal
17%
SHARE
TWEET

Untitled

a guest Oct 12th, 2018 61 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top