diff options
Diffstat (limited to 'templates/sshd_config/CentOS_normal.erb')
| -rw-r--r-- | templates/sshd_config/CentOS_normal.erb | 8 | 
1 files changed, 7 insertions, 1 deletions
diff --git a/templates/sshd_config/CentOS_normal.erb b/templates/sshd_config/CentOS_normal.erb index a784842..92ba92e 100644 --- a/templates/sshd_config/CentOS_normal.erb +++ b/templates/sshd_config/CentOS_normal.erb @@ -94,7 +94,13 @@ PasswordAuthentication yes  <%- else %>  PasswordAuthentication no  <%- end %> -#PermitEmptyPasswords no + +# To enable empty passwords, change to yes (NOT RECOMMENDED) +<%- if real_sshd_empty_passwords.to_s == 'yes' then %> +PermitEmptyPasswords yes +<% else -%> +PermitEmptyPasswords no +<% end -%>  # Change to no to disable s/key passwords  <%- if real_sshd_challenge_response_authentication.to_s == 'yes' then %>  | 
