Vendor: Microsoft · https://learn.microsoft.com/en-us/azure/devops/repos/git/use-ssh-keys-to-authenticate · Last reviewed 2026-12-05 · History
Summary
- Azure DevOps documents RSA as the only supported SSH user key type; “OpenSSH can generate several key types, but Azure DevOps supports RSA keys for SSH authentication”.1
- Signatures must be
rsa-sha2-256orrsa-sha2-512; the SHA-1ssh-rsasignature was deprecated in 2024 and is removed from the service.12 - No post-quantum key exchange is documented and Microsoft has published no commitment for Azure Repos SSH (checked 2026-12-05); the proof records what the server offers.
- The SSH server software is not documented (checked 2026-12-05).
- No setting to disable classical algorithms is documented (checked 2026-12-05).
Generate the key with
ssh-keygen -t rsa -b 3072and let the client negotiate an RSA-SHA2 signature.1
Cryptographic operations
Azure Repos is the SSH server at ssh.dev.azure.com (older URLs use vs-ssh.visualstudio.com); see Microsoft for other products.1
User keys
| Key | State |
|---|---|
RSA with rsa-sha2-256 or rsa-sha2-512 |
classical, supported |
RSA with ssh-rsa (SHA-1) |
removed |
| Ed25519, ECDSA, DSA | not listed as supported1 |
- A post-quantum user key such as ssh-mldsa44-ed25519 is not documented (checked 2026-12-05).
Host key and key exchange
- The documentation shows a first connection that adds
ssh.dev.azure.comas an RSA host key; fingerprints are shown on the SSH public keys page of the user profile.1 - Key exchange: no list is published (checked 2026-12-05). The troubleshooting section has an example error “no matching key exchange method found” with “Their offer” listing
diffie-hellman-group1-sha1,diffie-hellman-group14-sha1anddiffie-hellman-group-exchange-sha256, and a client overrideKexAlgorithms +...; it does not say this is the current offer.1
Configuration
- A client that hits a deprecated
ssh-rsaerror must remove anyHostkeyAlgorithms +ssh-rsaoverride and allowrsa-sha2-256andrsa-sha2-512.1 - Customers have no documented way to restrict the server’s algorithms (checked 2026-12-05).
Vendor commitments
- Nothing published for post-quantum SSH (checked 2026-12-05).1
References
-
Microsoft Learn, “Use SSH key authentication - Azure Repos”. https://learn.microsoft.com/en-us/azure/devops/repos/git/use-ssh-keys-to-authenticate?view=azure-devops (accessed 2026-12-05) ↩ ↩2 ↩3 ↩4 ↩5 ↩6 ↩7 ↩8 ↩9
-
Azure DevOps Blog, “End of SSH-RSA support for Azure Repos”, 2024-02-15. https://devblogs.microsoft.com/devops/ssh-rsa-deprecation/ (accessed 2026-12-05) ↩ ↩2 ↩3 ↩4