web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Error when connecting ...
Power Automate
Answered

Error when connecting Power Automate to SFTP on AWS Transfer Family: Server HMAC algorithm not found

(1) ShareShare
ReportReport
Posted on by 11

Hi,

 

I'm attempting to use Microsoft Power Automate to connect to an AWS SFTP instance (Transfer Family). The SFTP host is working in that I can connect to it using the Linux sftp command line client.

 

When attempting to connect using MS PA, I get this error: Server HMAC algorithm not found

 

The AWS log shows this: 

{    

"activity-type": "KEX_FAILURE",    

"source-ip": "xxxx",    

"resource-arn": "arn:aws:transfer:regions-xxxxxx:server/xxxx",    

"message": "no matching host key type found",    

"kex": "ssh-rsa,ssh-dss,ssh-ed25519,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521"

}

 

Does anyone know what the problem might be?

 

Categories:
I have the same question (0)
  • theblisster Profile Picture
    5 on at

    Exact same problem here! please help!

  • Verified answer
    stephen1 Profile Picture
    11 on at

    It seems the problem was with the key. The private key needs to start with -----BEGIN RSA PRIVATE KEY----- (not -----BEGIN OPENSSH PRIVATE KEY-----

    ) for this to work. 

     

    To create a key like this, follow these two steps:

     

    1. ssh-keygen -t rsa -b 4096 -f my_rsa_key
    2. ssh-keygen -p -f my_rsa_key -m pem (then use that key to connect using power automate private key)
  • Yugendiran Profile Picture
    2 on at

    Exact same problem. Any solution?

  • tgaki Profile Picture
    2 on at

    We were having similar issues with a customer using Power Automate.  After some digging into both sides of the issue, I found that the Transfer Security Policy on the AWS Transfer Family configuration was too new for Power Automate to connect.  Unfortunately it looks like there's absolutely no control over this from the client perspective with Power Automate, so the only solution for this to work is to downgrade the Transfer Security Policy to at least "TransferSecurityPolicy-2020-06" on the Transfer Family SFTP instance.

     

    Additionally, stephen1's response is correct as well in that the key needs to be in RSA PRIVATE KEY format, not OPENSSH.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 103 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 87

#3
trice602 Profile Picture

trice602 63 Super User 2026 Season 1

Last 30 days Overall leaderboard