Comment out GSSAPIAuthentication in ssh_config on trixie (removed in OpenSSH 10)

This commit is contained in:
Graham McIntire 2026-07-24 14:59:15 -05:00
parent 2c6dfcfcb6
commit 5171f6666c
No known key found for this signature in database
GPG key ID: F4ABF488E6029E59

View file

@ -59,3 +59,11 @@
line: "AddressFamily any"
state: present
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'