aboutsummaryrefslogtreecommitdiff
path: root/templates/sshd_config/CentOS_normal.erb
diff options
context:
space:
mode:
Diffstat (limited to 'templates/sshd_config/CentOS_normal.erb')
-rw-r--r--templates/sshd_config/CentOS_normal.erb5
1 files changed, 4 insertions, 1 deletions
diff --git a/templates/sshd_config/CentOS_normal.erb b/templates/sshd_config/CentOS_normal.erb
index a14120f..a053001 100644
--- a/templates/sshd_config/CentOS_normal.erb
+++ b/templates/sshd_config/CentOS_normal.erb
@@ -67,8 +67,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