Part of twisted.conch.interfaces View Source View In Hierarchy
Known implementations: twisted.conch.client.knownhosts.HashedEntry, twisted.conch.client.knownhosts.PlainEntry, twisted.conch.client.knownhosts.UnparsedEntry
Method | matchesKey | Return True if this entry matches the given Key object, False otherwise. |
Method | matchesHost | Return True if this entry matches the given hostname, False otherwise. |
Method | toString |
Parameters | key | The key object to match against. (type: twisted.conch.ssh.Key ) |
Note that this does no name resolution; if you want to match an IP address, you have to resolve it yourself, and pass it in as a dotted quad string.
Parameters | key | The hostname to match against. (type: str ) |