SSH Host Key Fingerprint MD5

Please post here if you have problems in using Wing FTP Server.
Post Reply
ggranger
Posts: 1
Joined: Wed Jan 18, 2023 5:31 pm

SSH Host Key Fingerprint MD5

Post by ggranger »

Hello All,

I have a vendor connecting to an SFTP server using Azure Power Automate WorkFlows. The workflow requires the MD5 of the SSH Host Key Fingerprint instead of the RSA. I attempted to use ssh-keygen as "ssh-keygen -E md5 -lf c:\temp\wftp_default_ssh.key" however, ran into the following issue:

Permissions for 'c:\temp\wftp_default_ssh.key' are to open.
It is required that your private key files are NOT accessible by others.
This private key will be ignored.
c:\\temp\wftp_default_ssh.key is not a key file.

I attempted to create a new SSH Host Key using the SSH Host Key Manager in WingFTP, set a password for it when creating, and ran into the same issue. Do I just need to create a key pair using PuttyGen then import that as the SSH Host Key? Is there something wrong with the SSH Host Keys generated in WingFTP or am I doing something wrong?

Thanks,
Geoff
FTP
Site Admin
Posts: 2094
Joined: Tue Sep 29, 2009 6:09 am

Re: SSH Host Key Fingerprint MD5

Post by FTP »

OK, you may try this one line command:
ssh-keyscan YourServerIP | ssh-keygen -lf -
Post Reply