Skip to content

Commit

Permalink
fix(googleauth): make sure sshd allows KbdInteractiveAuthentication
Browse files Browse the repository at this point in the history
  • Loading branch information
unilogicbv committed Jun 14, 2022
1 parent be3dd4f commit 3fe8750
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions users/googleauth.sls
Original file line number Diff line number Diff line change
Expand Up @@ -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 %}

0 comments on commit 3fe8750

Please sign in to comment.