Logic App SFTP Trigger Host-Key Support for rsa‑sha2‑256 or rsa‑sha2‑512

Martin Esbensen 40 Reputation points
2025-03-03T09:42:55.8533333+00:00

We have had a request for an enhancement of the Logic Apps SFTP trigger. Currently, the connector uses an older version of the underlying SSH library (SshNet) that supports only RSA keys with SHA‑1 for host-key verification. However, our partner is switching to enforce SFTP servers host keys rsa‑sha2‑256 or rsa‑sha2‑512 due to improved security standards.

Is there an upgrade to the SFTP trigger that supports rsa‑sha2‑256 and rsa‑sha2‑512 on the road map?

BR.

Martin

Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
3,474 questions
0 comments No comments
{count} votes

Accepted answer
  1. Sonny Gillissen 3,596 Reputation points
    2025-03-03T20:04:21.67+00:00

    Hi Martin Esbensen

    Thanks for reaching out on Microsoft Q&A!

    As I can see in the documentation referred by the link below:

    https://learn.microsoft.com/en-us/connectors/sftpwithssh/#authentication-and-permissions

    The SSH.NET library version used by Logic Apps should support rsa-sha2-256 and rsa-sha2-512 algorithms:

    https://github.com/sshnet/SSH.NET?tab=readme-ov-file#host-key-algorithms

    If you still run into issues, or want to open a feature request please contact the PG directly through the link below or contact Azure Support:

    https://feedback.azure.com/d365community/forum/cb47c115-7926-ec11-b6e6-000d3a4f032c

    Please click ‘Accept answer’ if you think my answer is helpful. Feel free to drop additional queries in the comments below!

    Kind regards,

    Sonny


1 additional answer

Sort by: Most helpful
  1. Shireesha Eeraboina 2,825 Reputation points Microsoft External Staff
    2025-03-05T07:15:57.55+00:00

    Hi @Martin Esbensen ,

    The SFTP trigger in Logic Apps should automatically use the supported algorithms, including rsa-sha2-256 and rsa-sha2-512, if your partner enforces them on their SFTP server. There is no specific setting in the Logic App or API connection to configure this; it should adapt to the server's requirements.

    If you encounter any issues or if the trigger does not work as expected after the enforcement is enabled, please let us know, and we can assist further.

    please click Accept Answer and Yes for the provided answer. This will help other community members with similar issues find the solution more easily.

    1 person found this answer helpful.
    0 comments No comments

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.