Which key exchange algorithms is supported by Azure SFTP-SSH

Ådne Brunborg 1 Reputation point
2021-07-01T09:27:28.85+00:00

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
  • ******@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://learn.microsoft.com/en-us/azure/connectors/connectors-sftp-ssh

Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
3,554 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,968 questions
{count} votes

1 answer

Sort by: Most helpful
  1. MayankBargali-MSFT 70,941 Reputation points Moderator
    2021-07-01T09:42:52.913+00:00

    Hi @Ådne Brunborg

    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.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.