SSHAcceptServerHostKey Property

Instructs the component to accept the server host key that matches the supplied key.

Syntax

public Certificate SSHAcceptServerHostKey { get; set; }
Public Property SSHAcceptServerHostKey As Certificate

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.

Copyright (c) 2023 /n software inc. - All rights reserved.
IPWorks SSH 2020 .NET Edition - Version 20.0 [Build 8501]