Browse Source

fix(googleauth): make sure sshd allows KbdInteractiveAuthentication

pull/229/head
Pascal de Bruijn 2 years ago
parent
commit
3fe875040d
1 changed files with 11 additions and 0 deletions
  1. +11
    -0
      users/googleauth.sls

+ 11
- 0
users/googleauth.sls View File

- name: {{ users.googleauth_dir }} - name: {{ users.googleauth_dir }}
{%- endif %} {%- 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 %} {%- endif %}

Loading…
Cancel
Save