update..
This commit is contained in:
1 parent
45115c6700
commit
a143f30206
16 files changed
+220
-17
No files matched your search
@@ -466,4 +466,36 @@ Match group sftp_users
|
||||
ChrootDirectory %h
|
||||
ForceCommand internal-sftp
|
||||
|
||||
Match all
|
||||
|
||||
{% endif -%}
|
||||
|
||||
{% if (sshd_pasword_auth_user is defined) and sshd_pasword_auth_user %}
|
||||
|
||||
#-----------------------------
|
||||
# Match User for PasswordAuthentication
|
||||
#-----------------------------
|
||||
{% for item in sshd_pasword_auth_user %}
|
||||
|
||||
Match User {{ item }}
|
||||
PasswordAuthentication yes
|
||||
|
||||
Match all
|
||||
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
|
||||
{% if (sshd_pasword_auth_ip is defined) and sshd_pasword_auth_ip %}
|
||||
|
||||
#-----------------------------
|
||||
# Match IP Address for PasswordAuthentication
|
||||
#-----------------------------
|
||||
{% for item in sshd_pasword_auth_ip %}
|
||||
|
||||
Match Address {{ item }}
|
||||
PasswordAuthentication yes
|
||||
|
||||
Match all
|
||||
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
Reference in new issue
Block a user