Skip to content

Commit

Permalink
Don't manage SSH ciphers on bullseye
Browse files Browse the repository at this point in the history
The OpenSSH daemon comes with reasonable defaults these days, so don't
try to manage that, by copying the same cipher list from release to
release.

Between Debian releases there is usually a large overlap over compatible
ciphers, so there shouldn't be any fear of breaking compatibility
between Proxmox VE releases either.
  • Loading branch information
mweinelt authored and lae committed Jul 10, 2024
1 parent d4b7309 commit 290e00c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
9 changes: 9 additions & 0 deletions tasks/ssh_cluster_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,3 +69,12 @@
create: yes
mode: 0644
dest: /root/.ssh/config
state: present
when: pve_ssh_ciphers is defined

- name: Drop PVE-provided ciphers, when undefined
lineinfile:
regexp: "^Ciphers .*"
dest: /root/.ssh/config
state: absent
when: pve_ssh_ciphers is not defined
1 change: 1 addition & 0 deletions vars/debian-bullseye.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
pve_release_key: proxmox-ve-release-7.x.asc
pve_release_key_id: DD4BA3917E23BF59
pve_ssh_ciphers: "aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com,chacha20-poly1305@openssh.com"
pve_ceph_repository_line: "deb http://download.proxmox.com/debian/ceph-pacific bullseye main"

0 comments on commit 290e00c

Please sign in to comment.