diff options
author | Micah Anderson <micah@riseup.net> | 2008-09-26 17:05:49 -0400 |
---|---|---|
committer | Micah Anderson <micah@riseup.net> | 2008-09-26 17:05:49 -0400 |
commit | 51c18b6b8f71a925e3c94b459dbc257f2466c453 (patch) | |
tree | d8376a0656147243fd2aa9fb4c0170da49c08dd7 /templates/sshd_config/Gentoo_normal.erb | |
parent | d6f9d64d9b0d8befcf7437b2fe69b6e378971794 (diff) | |
download | puppet-sshd-51c18b6b8f71a925e3c94b459dbc257f2466c453.tar.gz puppet-sshd-51c18b6b8f71a925e3c94b459dbc257f2466c453.tar.bz2 |
added sshd_challenge_response_authentication variable, with the default value set to no
Diffstat (limited to 'templates/sshd_config/Gentoo_normal.erb')
-rw-r--r-- | templates/sshd_config/Gentoo_normal.erb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/templates/sshd_config/Gentoo_normal.erb b/templates/sshd_config/Gentoo_normal.erb index aa98ae8..5605f14 100644 --- a/templates/sshd_config/Gentoo_normal.erb +++ b/templates/sshd_config/Gentoo_normal.erb @@ -70,7 +70,11 @@ PasswordAuthentication no #PermitEmptyPasswords no # Change to no to disable s/key passwords -#ChallengeResponseAuthentication yes +<%- if real_sshd_challenge_response_authentication.to_s == 'yes' then %> +ChallengeResponseAuthentication yes +<%- else %> +ChallengeResponseAuthentication no +<%- end %> # Kerberos options #KerberosAuthentication no |