[Bug 2924] Order a limited host keys list in client based on the known hosts

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Thu Oct 1 04:54:24 AEST 2020


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

jatjasjem at gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jatjasjem at gmail.com

--- Comment #6 from jatjasjem at gmail.com ---
i might be hitting this issue, can someone confirm that this it the 
same one or i might want to open another one?

if i run this on default configuration and accept the RSA key:

    rm ~/.ssh/known_hosts
    ssh user at localhost -oHostKeyAlgorithms=rsa-sha2-512

then this works:

    ssh user at localhost

this also works:

    ssh user at localhost -oHostKeyAlgorithms=rsa-sha2-512,ssh-ed25519

this doesn't work:

    ssh user at localhost -oHostKeyAlgorithms=ssh-ed25519,rsa-sha2-512

now edit ssh_config, setting HostKeyAlgorithms to the *default* value 
from man ssh_config. then this also doesn't work:

    ssh user at localhost

this behavior is very unexpected and at the very least should be
mentioned in the manual?

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


More information about the openssh-bugs mailing list