on_known_key_received Event
Signals that the server has introduced itself with a known key.
Syntax
class SFTPClientKnownKeyReceivedEventParams(object): @property def algorithm() -> str: ... @property def bits() -> int: ... @property def fingerprint_sha256() -> str: ... # In class SFTPClient: @property def on_known_key_received() -> Callable[[SFTPClientKnownKeyReceivedEventParams], None]: ... @on_known_key_received.setter def on_known_key_received(event_hook: Callable[[SFTPClientKnownKeyReceivedEventParams], None]) -> None: ...
Remarks
The class fires this event to tell the application that the server has introduced itself with a known key from trusted_keys_file. The details of the key are provided.
Use server_key to access more key details.