maximander wrote:> Hello all, i just discovered that the known hosts file seems to only
> store the server finger prints for distinct *hostnames/IPs*, not
> hostnames/IPs and ports, meaning i can't ssh to a multiple boxes on
> the same host even if they have different ports. Every client other
> than the one shipped with openSSH seems to work fine, presumably
> because they store fingerprints by host:port combinations rather than
> only by host. Would it be possible to modify the openSSH client to
> also store fingerprints by distinct host *and* port?
See http://bugzilla.mindrot.org/show_bug.cgi?id=454
In the mean time, check out the CheckHostIP and HostKeyAlias options in
the ssh_config(5) man page.
--
Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4 37C9 C982 80C7 8FF4 FA69
Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.