Back to FlowSsh Documentation

HostKeyHandler Typedef

[C]

typedef bool (__cdecl* FlowSshC_HostKeyHandler)(
  void* handlerData,
  FlowSshC_PublicKey* publicKey);

Parameters

  • handlerData: Data passed to the initiating call.
  • publicKey: A FlowSshC_PublicKey identifying the SSH server.

Return Value

Return false to reject the public-key (host-key) and disconnect. Return true to accept the key.