I have a DNS entry to host name which resolve to two or more IP address. It seems like we are getting MITM warning due to this intentional configuration. What is the way to overcome this. Should we disable StrictHostKeyChecking but that would not be a good idea. I am wondering what is the recommendations.
SSH / Telnet SoftwareDNS
Last Comment
noci
8/22/2022 - Mon
serialband
Are both IP addresses valid? Dose your DNS resolve both? You can ssh to the IP address instead. Either that or create secondary DNS names (aliases) for each IP address.
David Favor
Simple solution will be to setup an alias for 2x ssh commands, each using a hardcoded IP rather than host -> IP lookup.
If you ssh to IPs, rather than hosts, no requirement for StrictHostKeyChecking juggling.