[Bug 3219] Can't connect to a server that is using several host keys of the same type

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Sat Oct 3 10:13:05 AEST 2020


https://bugzilla.mindrot.org/show_bug.cgi?id=3219

Damien Miller <djm at mindrot.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED
                 CC|                            |djm at mindrot.org

--- Comment #1 from Damien Miller <djm at mindrot.org> ---
The SSH protocol does allow a host to have multiple host keys, but only
one is ever offered at a time. The protocol contains no support for
requesting or learning additional host keys of the same type. See
https://tools.ietf.org/html/rfc4253#page-22 - the key exchange only
includes a single hostkey.

If you want your client to learn all the hostkeys that a host offers
then use the UpdateHostkeys option. This is an OpenSSH protocol
extension designed to fix this situation that will be enabled by
default in OpenSSH 8.5.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.


More information about the openssh-bugs mailing list