[Bug 3367] ssh-keyscan with non-22 port does not hash correct host

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Fri Dec 3 15:13:48 AEDT 2021


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

--- Comment #4 from Damien Miller <djm at mindrot.org> ---
'host' and '[host]:22' aren't supposed to be equivalent - nothing in
OpenSSH should ever write '[host]:22'.

We deliberately avoid appending the port if it's the default because to
do so would multiply 2x the number of cases the search and hashing code
needs to consider. It's too much work for no practical gain

-- 
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