SessionOptions.SshHostKeyFingerprint does not accept 1024 bit fingerprints.

Advertisement

Guest

SessionOptions.SshHostKeyFingerprint does not accept 1024 bit fingerprints.

Hello All,

I’m trying to connect to a server via SFTP w/ fingerprint and it throws with the reason stated as “SSH Host fingerprint does not match pattern, as you can see on the screenshot attached.

According to what I see in the mentioned pattern, it expects only 256/384/512 bit fingerprints; moreover, there’s a typo there (521 instead of 512).

Thank you for your attention.

Description: Screenshot of the exception message.

WinSCP_FingerprintIssue.png

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
28,316
Location:
Prague, Czechia

Re: SessionOptions.SshHostKeyFingerprint does not accept 1024 bit fingerprints.

You misinterpret the regular expression. The 1024 is not the problem.

Show us your full fingerprint. It's fingerprint of a public key. It's not a secret.

And the 521 is not a typo.

Reply with quote

F-Multi
Joined:
Posts:
4

Re: SessionOptions.SshHostKeyFingerprint does not accept 1024 bit fingerprints.

The full key is:

ssh-rsa 1024 0d:fa:ed:f3:b4:bO:79:41:1f:25:6b:58:36:19:97:73

That is exactly what PuTTY returns me when I try to connect manually.
Thank you for the prompt reply!

Reply with quote

Advertisement

You can post new topics in this forum