Unable to get fingerprint starting v5.19.0
Hi,
I'm not able to get the fingerprint and have this error below when I upgraded to v5.19.0 and v5.19.1.
Is this a bug or is there a new method that I should use?
Thanks and Best Regards,
Carl
I'm not able to get the fingerprint and have this error below when I upgraded to v5.19.0 and v5.19.1.
Below is my code:Fingerprint for algorithm SHA-256 not supported
string fingerprint = null; // Host is not known yet. Scan its host key and let the user decide. using (Session session = new Session()) { //Disable Version Check session.DisableVersionCheck = true; // Use the temporarily extracted executable session.ExecutablePath = executablePath; fingerprint = session.ScanFingerprint(sessionOptions, "SHA-256"); } // Now we have the fingerprint sessionOptions.SshHostKeyFingerprint = fingerprint;
Thanks and Best Regards,
Carl