Logic App - SFTP SSH Connector not working with Adobe SFTP

Hugo Becerra 1 Reputation point
2020-07-09T14:56:35.217+00:00

I'm working with an Adobe SFTP trying to create a Logic app to deal with some files from a CRM. The problem is that I can't connect with the SFTP, I'm getting the error "Key exchange negotiation failed". I already checked the keys, tried to create new keys, but it is not working. I also tried with a SFPT Client (filezilla) and I could connect without any issue to the server.

Thanks for your help in advance.

Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
2,854 questions
{count} votes

1 answer

Sort by: Most helpful
  1. QuantumCache 20,031 Reputation points
    2020-07-15T03:30:54.017+00:00

    Hello @HugoBecerra-1778 , We are able to repro the issue as you mentioned the error "Key exchange negotiation failed". We have also attached the below images to show the step by step process which successfully connects to SFTP server via SFTP-SSH connector.

    Issue Repro: Reason, connection parameters incorrect, also please check the server firewall rules+ports, plus the SSH private key.

    12321-1-repro.png

    Walk-through SFTP-SSH connector, Only Key file: Logic Apps, sample use of SFTP gateway-BlobStorage from marketplace.

    Step1 : Create the SFTP gateway from Marketplace, used to quickly demonstrate only. There are many SFTP server products in the market.

    12294-2-sftp-gw-blob.png

    Step 2: Create VM and Blob storage account.

    Step 3: Create new user on SFTP Gateway server, and download the private key file and copy the content fully.

    12284-5-rsa-key.png

    Step 4 : Make use of SFTP-SSH connector in your logic app, as shown in below image settings.

    12314-6-sftp-ssh-connector.png

    If we run the Logic App, we can see the results.

    12361-final-la-success.png

    In this sample, I have created the new file in the blob container, via logic app's SFTP-SSH connector.

    12362-4-blobconatiner.png

    Extra Validation: No use of Logic App.
    Access SFTP server from C# code, Back-end application with ONLY Key file. sample to display the directories on the SFTP Server.

    12263-7-csharp-pub-key-usr.png

    Please check the SFTP server's Ports+Firewall+ how the SSH keys are generated on your side.

    For more info please visit these documents:

    Please let us know if you need further help.

    [5]: /api/attachments/12342-3-vm.png

    ?platform=QnA [6]: /api/attachments/12343-4-blobconatiner.png

    ?platform=QnA [7]: /api/attachments/12283-sftp-gw-blob.png