Home    SSH ActiveX Online Help Prev Next
What is MySSH
License
Events
OnAbsentFingerprint
OnAuthorization
OnConnect
OnDifferentFingerprint
OnDisconnect
OnError
Methods
ExecCommand
Properties
Compression
Error
Result
Timeout

DifferentKeyPolicy

property DifferentKeyPolicy As KEYPOLICY

This property defines the behavior of the component in the case of the absent host. The component stores finger prints of all known hosts in the registry. Why ? Because it can warn if the fingerprint has been changed. New fingerprints could mean that administrator of the SSH server has regenerated keys for the  server or .... someone has supplied wrong keys to the component. The second case means hacking attempt. You can find more about this attack on the Google if you search for "man-in-the-middle attack". Default value is CONN_ABANDON

This property can have one of the following values:

CONN_ABANDON Immediately terminate the connection. Default.
NO_CACHE Do not save fingerprint to the registry.
CACHE Save fingerprint to the registry.
THROW_EVENT Throw event with information about host and fingerprint. See OnDifferentFingerprint for details.
Browser Based Help. Published by chm2web software.