Share via

What are the supported Open SSH Key Formats when it is using in Azure ADF - Linked services for SFTP access

Lekkala, MuraliKrishna 0 Reputation points
2026-03-09T17:29:46.63+00:00

Hi, I created a ADF Linked services with Open SSH key for SFTP access. It is supports only with RSA format key but not ECDSA format. As per the security requirement, I need to use only ECDSA format.

Please help me to provide the suggestions and procedures for connecting SFTP server with ECDSA Open SSH key format.

Azure Data Factory
Azure Data Factory

An Azure service for ingesting, preparing, and transforming data at scale.

0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Manoj Kumar Boyini 10,340 Reputation points Microsoft External Staff Moderator
    2026-03-13T12:26:22.9533333+00:00

    Hi Lekkala, MuraliKrishna,

    Thanks for reaching out! Currently the built-in Azure Data Factory SFTP connector only accepts OpenSSH keys in the classic RSA (or legacy DSA) PEM format – it doesn’t yet support ECDSA private keys. You’ll see in the docs (under “Use SSH public key authentication”) that the connector only recognizes:

    • Keys beginning with “-----BEGIN RSA PRIVATE KEY-----” • (Or “-----BEGIN DSA PRIVATE KEY-----”)

    Because ECDSA keys start with “-----BEGIN EC PRIVATE KEY-----” (or with the newer OpenSSH “PRIVATE KEY” banner), the ADF connector will reject them today.

    Possible workarounds:

    1. Stick with an RSA key pair for your ADF → SFTP link, and rotate it regularly per your security policy.
    2. If you must use ECDSA, stand up a self-hosted integration runtime (e.g. on a Linux VM) and invoke your own SFTP script (ssh/scp or a small Azure Function/python script) that supports EC keys—and have ADF trigger that script.
    3. Submit a feature request on UserVoice/Feedback for ECDSA support in the ADF SFTP connector.

    If none of these fit, you could also look at the new Azure Blob Storage SFTP service (if you’re targeting Azure Storage rather than a third-party box) since that SFTP endpoint does support ECDSA host/public-key algorithms.

    Let me know if that helps or if you need more detail on any of the workarounds!

    Reference links
    • SSH public-key auth in ADF SFTP connector (RSA/DSA only):
    https://learn.microsoft.com/azure/data-factory/connector-sftp#linked-service-properties
    • Supported algorithms in Azure Blob Storage SFTP (ECDSA hosts allowed): https://learn.microsoft.com/azure/storage/blobs/secure-file-transfer-protocol-support#supported-algorithms


  2. Q&A Assist
    2026-03-09T17:29:58.5733333+00:00
    AI generated content. This question contains an answer created with AI from Q&A Assist. Learn more

    Azure Data Factory’s SFTP linked service supports only RSA/DSA OpenSSH private keys. ECDSA OpenSSH keys are not supported for SFTP authentication in ADF.

    From the SFTP connector documentation:

    • The SFTP connector supports an RSA/DSA OpenSSH key.
    • The key file content must start with -----BEGIN [RSA/DSA] PRIVATE KEY-----.
    • If the private key file is in PPK format, it must be converted to OpenSSH format (for example, using PuTTY tools).

    Because of this limitation, an SFTP linked service in ADF cannot be configured to authenticate with an ECDSA OpenSSH key. To meet a strict ECDSA-only security requirement, an alternative integration approach outside ADF’s native SFTP connector would be required (for example, a custom process that supports ECDSA and then stages data where ADF can read it), but that is not supported directly by the SFTP linked service.

    Key configuration options that are supported in ADF SFTP linked services:

    • userName: SFTP user.
    • privateKeyPath or privateKeyContent: RSA/DSA OpenSSH private key only.
    • passPhrase: Optional, if the private key is encrypted.

    There is no documented procedure to enable ECDSA keys with the built‑in SFTP connector; only RSA/DSA keys are supported.


    References:

    0 comments No comments

Your answer

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