Re:We updated our RSA SSH host key
by justeleblanc on Friday March 24, 2023 @07:48AM
(#35287792)
If we're starting from the assumption that the first key was compromised, then you're still vulnerable to MITM. The only solution is communicating the key through a different, trusted way. Which is exactly what github did - inasmuch you can trust that github.com is github.
One way to solve this in TOFU is to have a time window where both keys are presented.