Created
May 15, 2018 12:30
-
-
Save nprussell/b7c9cbac14b2ef09cc8365490e084464 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Subsystem sftp /usr/lib/openssh/sftp-server | |
Subsystem sftp internal-sftp | |
# 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 816ftp | |
Chroot Directory %h | |
ForceCommand internal-sftp | |
AllowTcpForwarding no |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment