IPWorks SFTP 2020 Android Edition

Questions / Feedback?

SSHAcceptServerHostKey Property

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


public Certificate getSSHAcceptServerHostKey();
public void setSSHAcceptServerHostKey(Certificate SSHAcceptServerHostKey);


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.

Default Value

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks SFTP 2020 Android Edition - Version 20.0 [Build 8162]