File tree 2 files changed +2
-1
lines changed
2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change 65
65
default [ 'ssh' ] [ 'allow_agent_forwarding' ] = false # sshd
66
66
default [ 'ssh' ] [ 'allow_x11_forwarding' ] = false # sshd
67
67
default [ 'ssh' ] [ 'use_pam' ] = false # sshd
68
+ default [ 'ssh' ] [ 'challenge_response_authentication' ] = false # sshd
68
69
default [ 'ssh' ] [ 'deny_users' ] = [ ] # sshd
69
70
default [ 'ssh' ] [ 'allow_users' ] = [ ] # sshd
70
71
default [ 'ssh' ] [ 'deny_groups' ] = [ ] # sshd
Original file line number Diff line number Diff line change @@ -107,7 +107,7 @@ UsePAM <%= ((@node['ssh']['use_pam']) ? "yes" : "no" ) %>
107
107
<% passsword_auth = @node['ssh']['server']['password_authentication'] || !!@node['ssh']['password_authentication'] -%>
108
108
PasswordAuthentication <%= (passsword_auth ? "yes" : "no" ) %>
109
109
PermitEmptyPasswords no
110
- ChallengeResponseAuthentication no
110
+ ChallengeResponseAuthentication <%= (@node['ssh']['challenge_response_authentication'] ? "yes" : "no" ) %>
111
111
112
112
# Only enable Kerberos authentication if it is configured.
113
113
KerberosAuthentication no
You can’t perform that action at this time.
0 commit comments