Comment out GSSAPIAuthentication in ssh_config on trixie (removed in OpenSSH 10)
This commit is contained in:
parent
2c6dfcfcb6
commit
5171f6666c
1 changed files with 8 additions and 0 deletions
|
|
@ -59,3 +59,11 @@
|
||||||
line: "AddressFamily any"
|
line: "AddressFamily any"
|
||||||
state: present
|
state: present
|
||||||
notify: restart ssh
|
notify: restart ssh
|
||||||
|
|
||||||
|
- name: "Comment out GSSAPIAuthentication in ssh_config (removed in OpenSSH 10)"
|
||||||
|
ansible.builtin.lineinfile:
|
||||||
|
path: /etc/ssh/ssh_config
|
||||||
|
regexp: '^(?!\s*#)\s*GSSAPIAuthentication\s'
|
||||||
|
line: '#GSSAPIAuthentication yes'
|
||||||
|
state: present
|
||||||
|
when: ansible_facts['distribution_release'] == 'trixie'
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue