fix(googleauth): make sure sshd allows KbdInteractiveAuthentication
This commit is contained in:
parent
be3dd4fbf6
commit
3fe875040d
@ -73,4 +73,15 @@ users_googleauth_selinux_applied:
|
||||
- name: {{ users.googleauth_dir }}
|
||||
{%- endif %}
|
||||
|
||||
sshd:
|
||||
service.running:
|
||||
- watch:
|
||||
- file: /etc/ssh/sshd_config
|
||||
|
||||
sshd_config:
|
||||
file.replace:
|
||||
- name: /etc/ssh/sshd_config
|
||||
- pattern: '^(ChallengeResponseAuthentication|KbdInteractiveAuthentication).*'
|
||||
- repl: '\1 yes'
|
||||
|
||||
{%- endif %}
|
||||
|
Loading…
Reference in New Issue
Block a user