KnownKeyReceived Event
Signals that the server has introduced itself with a known key.
Syntax
sftpclient.on('KnownKeyReceived', [callback])
Callback
The 'callback' is called when the 'KnownKeyReceived' event is emited.
function(e){ }
The argument 'e' has the following properties:
e.algorithm e.bits e.fingerprintSHA256
Remarks
The class fires this event to tell the application that the server has introduced itself with a known key from TrustedKeysFile. The details of the key are provided.
Use ServerKey to access more key details.