Mailing List Archive

[Bug 1476] .ssh/known_hosts does not save port number
https://bugzilla.mindrot.org/show_bug.cgi?id=1476


Darren Tucker <dtucker@zip.com.au> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |dtucker@zip.com.au




--- Comment #1 from Darren Tucker <dtucker@zip.com.au> 2008-06-13 03:16:00 ---
Thats' odd, because that's been there for a while. What exact version
are you using (ie what does ssh -V say?)

Using a server with a different key on port 2222 on "myserver" with a
5.0p1 client, I get:

$ ssh -o userknownhostsfile=/tmp/known myserver
The authenticity of host '[myserver]:2222 ([192.168.32.1]:2222)' can't
be established.
[...]

and /tmp/known contains:

[myserver]:2222,[192.168.32.1]:2222 ssh-rsa AAAAB3Nz[...]

Be aware that using the default port does not add a port number, and if
a matching host key is found without a port then it is used even if
you're connecting on a nonstandard port (this is for backward
compatibility).

--
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- 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
[Bug 1476] .ssh/known_hosts does not save port number [ In reply to ]
https://bugzilla.mindrot.org/show_bug.cgi?id=1476


parasietje@gmail.com changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |WORKSFORME




--- Comment #2 from parasietje@gmail.com 2008-06-13 10:03:56 ---
I did not use the latest version. Terrible apologies for wasting your
time!

--
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- 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