Skip to content

Commit 3fe8750

Browse files
committed
fix(googleauth): make sure sshd allows KbdInteractiveAuthentication
1 parent be3dd4f commit 3fe8750

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

users/googleauth.sls

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,4 +73,15 @@ users_googleauth_selinux_applied:
7373
- name: {{ users.googleauth_dir }}
7474
{%- endif %}
7575
76+
sshd:
77+
service.running:
78+
- watch:
79+
- file: /etc/ssh/sshd_config
80+
81+
sshd_config:
82+
file.replace:
83+
- name: /etc/ssh/sshd_config
84+
- pattern: '^(ChallengeResponseAuthentication|KbdInteractiveAuthentication).*'
85+
- repl: '\1 yes'
86+
7687
{%- endif %}

0 commit comments

Comments
 (0)