ssh StrictHostKeyChecking=no refuse connection when key changed

Mike Clarke jmc-freebsd at
Mon Apr 28 10:31:40 UTC 2008

On Monday 28 April 2008, Anton Shterenlikht wrote:

> This works fine until Node1 is down, in which case the cluster
> software directs all connections to to Node2. Since
> its key doesn't match what's in known_hosts, the connection is
> refused.
> At present I tune the VMS cluster and reboot individual nodes
> frequently. I'd like to be able to tell ssh to ignore key mismatch
> at this stage.

Just a quick, and untested, thought. Could you use the same key files on 
all the nodes in the cluster? It might work unless ssh on the local 
machine objects to machines having identical keys in the known_hosts 

Mike Clarke

More information about the freebsd-questions mailing list