[pve-devel] [PATCH cluster/manager/storage/docs 0/9] fix #4886: improve SSH handling
Fabian Grünbichler
f.gruenbichler at proxmox.com
Fri Jan 12 13:12:50 CET 2024
On January 11, 2024 11:51 am, Fabian Grünbichler wrote:
> this series replaces the old mechanism that used a cluster-wide merged known
> hosts file with distributing of each node's host key via pmxcfs, and pinning
> the distributed key explicitly for internal SSH connections.
>
> the main changes in pve-cluster somewhat break the old manager and
> storage versions, but only when such a partial upgrade is mixed with a
> host key rotation of some sort.
>
> pve-storage uses a newly introduced helper, so needs a versioned
> dependency accordingly.
>
> the last pve-docs patch has a placeholder for the actual version shipping the
> changes which needs to be replaced when applying.
>
> there's still some potential for follow-ups:
> - 'pvecm ssh' wrapper to debug and/or re-use the host key pinning (and other
> future changes)
> - also add non-RSA host keys
> - key (and thus authorized keys) and/or sshd disentangling (this
> potentially also affects external access, so might be done on a major
> release to give more heads up)
and one fixup that I just realized thanks to talking to Hannes D. - the
cluster create API call will also merge the known hosts, that call
should also be removed if we remove it from `pvecm updatecerts`.
More information about the pve-devel
mailing list