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?
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.
Exact same problem. Any solution?
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:
Exact same problem here! please help!
Michael E. Gernaey
6
Super User 2025 Season 1
KT-07051015-0
4
GI-06050833-0
2