How do I set up my dot net program to send files to server with multiple host key fingerprints?

Advertisement

jrmcjim
Joined:
Posts:
3
Location:
US

How do I set up my dot net program to send files to server with multiple host key fingerprints?

Martin,
I have a program that sends files to multiple sites that until now had a single fingerprint.

I now have a site that has an SHA-256 and MD5 fingerprint and I have not discovered how to set this up in my code.

Thanks,
Jim

Reply with quote

Advertisement

jrmcjim
Joined:
Posts:
3
Location:
US

Thanks Martin. I finally understood (I think) what you referred me to and generated the stub to connect. Using the Host Key Fingerprint from the generated code, I received the following error:
SSH host key fingerprint "ssh-rsa 2048 1gqvgmbEUGYL+fKsHOMQrHmAtl3MflTavgKK6kIdl04=" does not match pattern /((ssh-rsa|ssh-dss|ssh-ed25519|ecdsa-sha2-nistp(256|384|521))( |-))?(\d+ )?([0-9a-f]{2}(:|-)){15}[0-9a-f]{2}(;((ssh-rsa|ssh-dss|ssh-ed25519|ecdsa-sha2-nistp(256|384|521))( |-))?(\d+ )?([0-9a-f]{2}(:|-)){15}[0-9a-f]{2})*/

Reply with quote

Advertisement

You can post new topics in this forum