SSHAcceptServerHostKey Property
Instructs the component to accept the server host key that matches the supplied key.
Syntax
[VB.NET] Public Property SSHAcceptServerHostKey As Certificate
[C#] public Certificate SSHAcceptServerHostKey {get; set;}
Remarks
If the host key that will be used by the server is known in advance, this property may be set to accept the expected key. Otherwise the SSHServerAuthentication event should be trapped, and the key should be accepted or refused in the event.
If this property is not set and the SSHServerAuthentication event is not trapped, the server will not be authenticated and the connection will be terminated by the client.