question

dneBrunborg-8235 avatar image
0 Votes"
dneBrunborg-8235 asked KallroosTodd-7181 commented

Which key exchange algorithms is supported by Azure SFTP-SSH

Hi,

I'm currently implementing a solution using Logic Apps to transfer data to an external location. The plan is to use SFTP-SSH, but when trying to connect I get
Test connection failed: Error 'Key exchange failed.'
I can connect using WinSCP so the key is good.

Having discussed this with the other party, they ask to find out which key exchange algorithm is being used, or specifically if any of the following is supported:

  • diffie-hellman-group14-sha256

  • diffie-hellman-group-exchange-sha-256

  • curve25519-sha256@libssh.org

  • edc-sha2-nistp256

  • diffie-hellman-group14-sha1

  • diffie-hellman-group1-sha1

The documenation specifies which encryption algorithm is supported, but not the KEX algorithms:
https://docs.microsoft.com/en-us/azure/connectors/connectors-sftp-ssh


azure-logic-appsazure-webapps-ssh
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Did you find an answer to this? I'm having the same problem.

0 Votes 0 ·

1 Answer

MayankBargali-MSFT avatar image
0 Votes"
MayankBargali-MSFT answered MayankBargali-MSFT commented

Hi @dneBrunborg-8235

Welcome to Microsoft Q&A! Thanks for posting the question.

The SFTP-SSH connector uses SSH.NET library. Supported key exchange methods are listed here.

· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi, and thanks!

Unfortunately, this did not solve the problem.

It should have worked - curve25519-sha256@libssh.org is present but still. The other party added some more KEX algorithms: diffie-hellman-group16-sha512 and diffie-hellman-group18-sha512 - but the problem persists.

0 Votes 0 ·

@dneBrunborg-8235 Sorry to hear that. Please refer to my private comment so I can assist you further.

0 Votes 0 ·