HostKeyEventHandler Delegate
[C#]
public delegate bool HostKeyEventHandler(
object sender,
PublicKey publicKey);
Parameters
- sender: The source of the event.
- publicKey: A PublicKey identifying the SSH server.
Return Value
Return false to reject the public-key (host-key) and disconnect. Return true to accept the key.