fix incorrect variable sshd_permit_empty_passwords
This commit is contained in:
parent
ef6f137cff
commit
213f5c47db
4 changed files with 4 additions and 4 deletions
|
@ -106,7 +106,7 @@ PasswordAuthentication no
|
||||||
<%- end %>
|
<%- end %>
|
||||||
|
|
||||||
# To enable empty passwords, change to yes (NOT RECOMMENDED)
|
# To enable empty passwords, change to yes (NOT RECOMMENDED)
|
||||||
<%- if real_sshd_empty_passwords.to_s == 'yes' then %>
|
<%- if real_sshd_permit_empty_passwords.to_s == 'yes' then %>
|
||||||
PermitEmptyPasswords yes
|
PermitEmptyPasswords yes
|
||||||
<% else -%>
|
<% else -%>
|
||||||
PermitEmptyPasswords no
|
PermitEmptyPasswords no
|
||||||
|
|
|
@ -88,7 +88,7 @@ HostbasedAuthentication no
|
||||||
#IgnoreUserKnownHosts yes
|
#IgnoreUserKnownHosts yes
|
||||||
|
|
||||||
# To enable empty passwords, change to yes (NOT RECOMMENDED)
|
# To enable empty passwords, change to yes (NOT RECOMMENDED)
|
||||||
<%- if real_sshd_empty_passwords.to_s == 'yes' then %>
|
<%- if real_sshd_permit_empty_passwords.to_s == 'yes' then %>
|
||||||
PermitEmptyPasswords yes
|
PermitEmptyPasswords yes
|
||||||
<% else -%>
|
<% else -%>
|
||||||
PermitEmptyPasswords no
|
PermitEmptyPasswords no
|
||||||
|
|
|
@ -109,7 +109,7 @@ PasswordAuthentication no
|
||||||
<%- end %>
|
<%- end %>
|
||||||
|
|
||||||
# To enable empty passwords, change to yes (NOT RECOMMENDED)
|
# To enable empty passwords, change to yes (NOT RECOMMENDED)
|
||||||
<%- if real_sshd_empty_passwords.to_s == 'yes' then %>
|
<%- if real_sshd_permit_empty_passwords.to_s == 'yes' then %>
|
||||||
PermitEmptyPasswords yes
|
PermitEmptyPasswords yes
|
||||||
<% else -%>
|
<% else -%>
|
||||||
PermitEmptyPasswords no
|
PermitEmptyPasswords no
|
||||||
|
|
|
@ -102,7 +102,7 @@ PasswordAuthentication no
|
||||||
<%- end %>
|
<%- end %>
|
||||||
|
|
||||||
# To enable empty passwords, change to yes (NOT RECOMMENDED)
|
# To enable empty passwords, change to yes (NOT RECOMMENDED)
|
||||||
<%- if real_sshd_empty_passwords.to_s == 'yes' then %>
|
<%- if real_sshd_permit_empty_passwords.to_s == 'yes' then %>
|
||||||
PermitEmptyPasswords yes
|
PermitEmptyPasswords yes
|
||||||
<% else -%>
|
<% else -%>
|
||||||
PermitEmptyPasswords no
|
PermitEmptyPasswords no
|
||||||
|
|
Loading…
Reference in a new issue