Yes but the option to do verify host keys using ("VerifyHostKeyDNS") is not enabled by default.
DNS can trivially be mitm'd. DNS-stored fingerprints are strictly less secure than TOFU.
Re:We updated our RSA SSH host key
by tialaramex on Friday March 24, 2023 @09:40AM
(#35288923)
If you use DNSSEC (cue inevitable rant from Thomas) this just works. If you have DoH (and why wouldn't you?) and your trusted resolver uses DNSSEC (which popular ones do), you get the same benefits.
Yeah like how HTTPS CAs exist. There are some very nice three letter ones who can issue any certificate and your browser / OS happily accepts it.
Re:We updated our RSA SSH host key
by BenjiWiebe on Friday March 24, 2023 @08:31AM
(#35288154)
SSH doesn't have any CAs that it trusts out of the box. It's up to you to tell it which one to trust.
Unless it has changed recently, you can't have a trust chain of OpenSSH certs though so it's cumbersome that your signing key is not only the root ca but also basically has to be 24/7 accessible to sign any server/client you want to bring up.
This just kicks the can down the road to DNS.
I'd guess that most systems aren't using DoH/DoT or end-to-end DNSSEC yet. Some browsers do, but that doesn't help tooling frequently used on the command line.
No browser uses DNSSEC.
That was in reference to the former, i.e. in-browser DoH/DoT lookups.
Re:We updated our RSA SSH host key
by nibbleshifter on Saturday March 25, 2023 @10:43AM
(#35303107)
Thank god. Someone needs to take that protocol out back and give it the old yeller treatment.
We also have a way to put SSH host key fingerprints in DNS records already.