Page 1 of 1

SSH Host Key Fingerprint MD5

Posted: Fri Jun 02, 2023 10:53 pm
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

Re: SSH Host Key Fingerprint MD5

Posted: Sat Jun 03, 2023 2:19 am
by FTP
OK, you may try this one line command:
ssh-keyscan YourServerIP | ssh-keygen -lf -