Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #Subsystem sftp internal-sftp -u 0002
- # Set this to 'yes' to enable PAM authentication, account processing,
- # and session processing. If this is enabled, PAM authentication will
- # be allowed through the ChallengeResponseAuthentication and
- # PasswordAuthentication. Depending on your PAM configuration,
- # PAM authentication via ChallengeResponseAuthentication may bypass
- # the setting of "PermitRootLogin without-password".
- # If you just want the PAM account and session checks to run without
- # PAM authentication, then enable this but set PasswordAuthentication
- # and ChallengeResponseAuthentication to 'no'.
- UsePAM yes
- Match Group sftponly
- ChrootDirectory %h
- X11Forwarding no
- AllowTcpForwarding no
- #ForceCommand internal-sftp
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement