[Bug 910] known_hosts port numbers

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Sat May 14 19:33:17 EST 2005


http://bugzilla.mindrot.org/show_bug.cgi?id=910


dtucker at zip.com.au changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #912 is|0                           |1
           obsolete|                            |




------- Additional Comments From dtucker at zip.com.au  2005-05-14 19:33 -------
Created an attachment (id=913)
 --> (http://bugzilla.mindrot.org/attachment.cgi?id=913&action=view)
A key of "hostname" implies port 22, also fix HashKnownHosts

Implement semantics proposed in comment #17, and make it play nice with
HashKnownHosts.  The cases I can see are:

a) "ssh hostname" stores a key for "hostname"
b) "ssh -p 222 hostname" stores a key for "hostname at 222".
c) "ssh -p 222 -o hostkeyalias=foo hostname" stores a key for "foo".

The only change in semantics I can see is for case b) when there's a key for
"hostname" but not "hostname at 222".  Without the patch it'll match "hostname",
with the patch it'll give a "no matching key" error.  I think this is probably
acceptable.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.




More information about the openssh-bugs mailing list