Is it possible to allow multiple SSH host keys for the same IP?
14
votes
3
answers
25133
views
I have a script that needs to connect to the currently active head of a high-availability cluster.
Each node in the cluster has a fixed hostname and IP address.
The current head additionally has a "virtual IP". In the case of a switchover or failover, another node configures the "virtual IP" and begins acting as the head.
Can I just point my script at the virtual IP? Won't
ssh
complain about mismatching host keys when the cluster moves the virtual IP to a different node?
Asked by n.st
(8388 rep)
Dec 8, 2018, 12:28 PM
Last activity: Nov 16, 2023, 03:07 PM
Last activity: Nov 16, 2023, 03:07 PM