This commit is contained in:
2020-05-30 20:04:30 +02:00
parent bacd87430a
commit e2a215b393
9 changed files with 222 additions and 5 deletions

View File

@ -343,7 +343,16 @@ PrintLastLog yes
#GSSAPIAuthentication no
#GSSAPICleanupCredentials yes
{% if ( create_sftp_group is defined) and create_sftp_group %}
#-----------------------------
# Match Blocks
#-----------------------------
Match group sftp_users
X11Forwarding no
AllowTcpForwarding no
ChrootDirectory %h
ForceCommand internal-sftp
{% endif -%}