onVerifyHostKey property

SSHHostkeyVerifyHandler? onVerifyHostKey
final

Function called when the first host key is received. Return true to accept the host key, false to reject it and close the connection. If this is null, the host key is accepted automatically.

Implementation

final SSHHostkeyVerifyHandler? onVerifyHostKey;