Skip to content

verify-fingerprint: returns "found in known hosts" when host is a subset of a verified host #11

@Isha-Sharma

Description

@Isha-Sharma

Current behavior

If a host is a subset of a verified host, verify-fingerprint returns with "found in known hosts" and exits.

Example:
Verifying test.domain.com
known_hosts mytest.domain.com
Output "Key found in known_hosts."

Steps to reproduce

Verify fingerprint for test.domain.com when mytest.domain.com is in your known_hosts

Suggested Solutions

Use an exact match when filtering in known_hosts

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions