[Bug 1565] New: ssh-keyscan doesn't like comment-lines

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Wed Mar 4 20:00:20 EST 2009


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

           Summary: ssh-keyscan doesn't like comment-lines
           Product: Portable OpenSSH
           Version: 5.1p1
          Platform: All
        OS/Version: Linux
            Status: NEW
          Keywords: low-hanging-fruit
          Severity: minor
          Priority: P2
         Component: Miscellaneous
        AssignedTo: unassigned-bugs at mindrot.org
        ReportedBy: schuster at isja.org


ssh-keyscan can take an existing known_hosts file as input, but only if
it contains no comment-lines.

To reproduce:
echo '#' > khtest
ssh-keyscan -f khtest

Result:
getaddrinfo #: Name or service not known

Expected:
Nothing happens

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