'Declaration Public Property StrictHostKeyChecking As Boolean
public bool StrictHostKeyChecking {get; set;}
'Declaration Public Property StrictHostKeyChecking As Boolean
public bool StrictHostKeyChecking {get; set;}
The default value is false for compatibility with previous versions. It means that the verification of the server key, that was recieved during handshake when establishing connection is not performed. It is not recommended to use the default value, because this does not implement completely the SSH secure connection.
When this option is set to true, the server public key is verified. The verification is successfull if the server key is identical to the key, supplied by user. This key should be specified in the HostKey property. If this property is not set or the keys are not equal, an exception is raised and connection is not established. You can use Devart.Data.Oracle.OracleConnection.SshHostKeyConfirmation to handle this scenario.
You can get the public host key from system administrator. If you get only the fingerprint of the key, but not the key itself, you should subscribe for the Devart.Data.Oracle.OracleConnection.SshHostKeyConfirmation event. The server key fingerprint and other properties will be available as the event handler parameters.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
SshOptions Class
SshOptions Members
Devart.Data.Oracle.OracleConnection.SshHostKeyConfirmation