The Maverick.NET SSH API

AbstractKnownHostsKeyVerification.OnUnknownHost Method 

Called by the verification instance when a key is received from a server that is not currently recorded in the known_hosts file.

[Visual Basic]
MustOverride Public Sub OnUnknownHost( _
   ByVal host As String, _
   ByVal acutalKey As SSHPublicKey _
)
[C#]
public abstract void OnUnknownHost(
   string host,
   SSHPublicKey acutalKey
);

Parameters

host
The hostname of the SSH server
acutalKey
The server's host key.

See Also

AbstractKnownHostsKeyVerification Class | Maverick.PublicKey Namespace