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 committed Aug 7, 2021
1 parent 96f90b0 commit 0610942
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
10 changes: 10 additions & 0 deletions tasks/ssh_cluster_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,3 +85,13 @@
insertbefore: BOF
create: yes
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

3 changes: 1 addition & 2 deletions vars/debian-bullseye.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,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"
pve_ceph_repository_line: "deb http://download.proxmox.com/debian/ceph-pacific bullseye main"

0 comments on commit 0610942

Please sign in to comment.