Possible bug: SSH doesn't prefer host keys listed in SSHFP records while connecting.

Damien Miller djm at mindrot.org
Sat Feb 23 19:49:30 AEDT 2019


On Fri, 22 Feb 2019, Yegor Ievlev wrote:

> Steps to reproduce:
> 1. Run a SSH server with default configuration and point a domain to it.
> 2. Add SSHFP record to the domain, but only for Ed25519 key.
> 3. Attempt to connect with VerifyHostKeyDNS set to yes, but the rest
> of settings set to defaults.
> 4. OpenSSH defaults to ECDSA instead of Ed25519 and refuses connection
> because there is no ECDSA fingerprint in SSHFP records.

I'm not seeing the bug: typically you'd add SSHFP records for all
the server's hostkeys, but you've not done this.

-d


More information about the openssh-unix-dev mailing list