Views:

Applies to Product- Power Automate

What’s happening?

The customer is experiencing difficulties connecting Power Automate to an FTP server, specifically receiving an error related to the SSH host key fingerprint.


Reason:
The error occurs because the SSH host key validation is enabled, but the fingerprint of the server has not been provided.


Resolution:
Obtain the Host Key Fingerprint:

  • Connect to the SFTP server via terminal/SSH and execute one of the following commands to retrieve the fingerprint:
  • ssh-keyscan -t rsa <server_address> | ssh-keygen -lf -
  • openssl s_client -connect <server_address>:<port> | openssl #### -fingerprint -noout
  • If direct access to the server is not available, request the fingerprint from the SFTP server administrator.
Enter the Fingerprint in Power Automate:
In the SFTP-SSH connection settings within Power Automate, locate the "SSH host key fingerprint" field and enter the obtained fingerprint.
Verify Other Required Fields:
  • Ensure that the following fields are correctly configured:
  • Username: Must be a valid SFTP user.
  • Password or Private Key: Fill in either the password or the SSH private key (not both unless required).
  • Port: Confirm that the port is set correctly (default is usually 22, but verify with the administrator).
Disable SSH Host Key Validation (if necessary):
If host key validation is not required (e.g., in non-critical environments), you may disable SSH host key validation. However, this is not recommended for critical environments due to security concerns.