[Bug 1544] New: ssh-keygen -l on known_hosts file does not display hostnames for lines with comments

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Fri Dec 19 03:44:57 EST 2008


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

           Summary: ssh-keygen -l on known_hosts file does not display
                    hostnames  for lines with comments
           Product: Portable OpenSSH
           Version: 5.1p1
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: ssh-keygen
        AssignedTo: unassigned-bugs at mindrot.org
        ReportedBy: ssh-bugzilla at finestructure.net


Created an attachment (id=1588)
 --> (http://bugzilla.mindrot.org/attachment.cgi?id=1588)
output of ssh-keygen -l on known_hosts file with comments

I am encountering a small bug when using ssh-keygen -l with
known_hosts files.  For lines that have comments, the hostname is not
diplayed in the ssh-keygen -l output.  Please see the attachment for a
demonstration of the effect.

As you can see in the last command in the attachment, the hostname is
not present in the display, although the comment is.

The monkeysphere [0] program uses the comment field in known_hosts
files,
so this may present a problem for users of that program.

Thanks for the help.

[0] http://web.monkeysphere.info/

-- 
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