Advertisement
Guest User

like this

a guest
Jan 30th, 2013
34
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.73 KB | None | 0 0
  1.  
  2. #Subsystem sftp internal-sftp -u 0002
  3.  
  4. # Set this to 'yes' to enable PAM authentication, account processing,
  5. # and session processing. If this is enabled, PAM authentication will
  6. # be allowed through the ChallengeResponseAuthentication and
  7. # PasswordAuthentication. Depending on your PAM configuration,
  8. # PAM authentication via ChallengeResponseAuthentication may bypass
  9. # the setting of "PermitRootLogin without-password".
  10. # If you just want the PAM account and session checks to run without
  11. # PAM authentication, then enable this but set PasswordAuthentication
  12. # and ChallengeResponseAuthentication to 'no'.
  13. UsePAM yes
  14.  
  15.  
  16. Match Group sftponly
  17. ChrootDirectory %h
  18. X11Forwarding no
  19. AllowTcpForwarding no
  20. #ForceCommand internal-sftp
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement