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

--- Comment #3 from Damien Miller <d...@mindrot.org> ---
Ah, it's probably the fix for bug #3367
https://github.com/openssh/openssh-portable/commit/e9c71498a08

Before 8.9, ssh-keyscan would not include the port in the hash as ssh
does. If you use a non-default port now, then it is included in the
hash just as if it was added by "ssh -p24 localhost"

[djm@neko openssh]$ ./ssh-keyscan -Hp 2222 localhost > /tmp/x
# localhost:2222 SSH-2.0-OpenSSH_8.9
[djm@neko openssh]$ ssh-keygen -f /tmp/x -F localhost
[djm@neko openssh]$ ssh-keygen -lf /tmp/x -F "[localhost]:2222"
# Host [localhost]:2222 found: line 1 
[localhost]:2222 RSA SHA256:llyZXQpeXErA3hDjef4lD5vVgsKOLEas0tKMrNSheNw

-- 
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.
_______________________________________________
openssh-bugs mailing list
openssh-bugs@mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-bugs

Reply via email to