Skip to main content Link Menu Expand (external link) Document Search Copy Copied

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-256 or rsa-sha2-512; the SHA-1 ssh-rsa signature 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 3072 and 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

Host key and key exchange

  • The documentation shows a first connection that adds ssh.dev.azure.com as 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-sha1 and diffie-hellman-group-exchange-sha256, and a client override KexAlgorithms +...; it does not say this is the current offer.1

Versions

Change Date Applies to Source
rsa-sha2-256 and rsa-sha2-512 supported 2022 Services, Server 2022 blog2
ssh-rsa throttled, then browned out, then removed 2024-03 to late Q2 2024 Services blog2
Azure DevOps Server 2022.3 does not support ssh-rsa keys “expected” end of 2024 Server blog2

Configuration

  • A client that hits a deprecated ssh-rsa error must remove any HostkeyAlgorithms +ssh-rsa override and allow rsa-sha2-256 and rsa-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

Proofs

The proof below records what the server offers.

References

  1. 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

  2. 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


Edit: Azure DevOps SSH

If you give an email address it is recorded publicly as the author of the commit, and GitHub will link the commit to your account if that address belongs to one.

Edits are reviewed before they appear. By submitting you release your contribution under CC BY-SA 4.0. Read the editorial guidelines first.

This site uses Just the Docs, a documentation theme for Jekyll.