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

--- Comment #3 from James Z.M. Gao <gaoz...@gmail.com> ---
thanks very much.

@dtucker another minor issue of the KnownHosts matching of `ssh-keygen
-F` is that 'host' and '[host]:22' are not equivalent.


ssh-keyscan host > k.txt # output: host key-type ...

ssh-keyscan -p 22 host # also output: host key-type ...

ssh-keygen -f k.txt -F host # found hostkey as expected

ssh-keygen -f k.txt -F '[host]:22' # found nothing, whereas we should
also match the same key as previous command

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

Reply via email to