IPWorks SSH 2020 JavaScript Edition

Questions / Feedback?

SSHAcceptServerHostKey Property

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

Syntax


 getSSHAcceptServerHostKey(): Certificate;

 setSSHAcceptServerHostKey(SSHAcceptServerHostKey: Certificate): void;

Default Value

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 JavaScript Edition - Version 20.0 [Build 8501]