[Bug 1376] New: 'ssh-keygen -HF' hashes host,IP together

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Fri Oct 19 19:03:20 EST 2007


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

           Summary: 'ssh-keygen -HF' hashes host,IP together
    Classification: Unclassified
           Product: Portable OpenSSH
           Version: 4.7p1
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P3
         Component: ssh-keygen
        AssignedTo: bitbucket at mindrot.org
        ReportedBy: jp at devnull.cz


Created an attachment (id=1363)
 --> (http://bugzilla.mindrot.org/attachment.cgi?id=1363)
fix for the bug reported

the corner case of '-HF' returns a string that is a hash for the whole
hostline and not just the host xor IP address which means that usually
it will return a hash for "HOST,IP". This will never be matched if
manually included into the known_host file since ssh hashes only one of
HOST or IP to look for a match in known_hosts file.

patch to fix this is included.

-- 
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list