]> git.proxmox.com Git - pve-cluster.git/commit
ssh_merge_known_hosts: also add entry if current sshkey does not match
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 12 Jul 2017 09:53:16 +0000 (11:53 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Wed, 12 Jul 2017 10:00:01 +0000 (12:00 +0200)
commitfe129500fc0017aa8de6f9eba244d33e0f94221e
tree88212502008357ca2bc864b8e0aab3b99f157646
parentc2d38f03f99a20af252933dde5bf890a447c3504
ssh_merge_known_hosts: also add entry if current sshkey does not match

this ensures that our current valid SSH keys gets added even if
another key on the same hostname exists already for some reasons.
The code path which handles hashed host names has this behavior
already since the beginning, so let the new non-hashed code act the
same way.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
data/PVE/Cluster.pm