GitHub is introducing post-quantum secure key exchange methods for SSH access to better protect Git data in transit.
Overview
GitHub is adding post-quantum secure SSH key exchange using the sntrup761x25519-sha512 hybrid algorithm to protect Git data access against future quantum computer decryption attacks. The change combines Streamlined NTRU Prime with classical Elliptic Curve Diffie-Hellman (X25519) to ensure security isn't weaker than current standards while adding quantum resistance. The rollout targets September 17, 2025 for GitHub.com and non-US GitHub Enterprise Cloud regions.
What You'll Learn
Why post-quantum cryptography matters for SSH connections today
How the hybrid sntrup761x25519-sha512 key exchange algorithm combines classical and post-quantum security
How to check if your OpenSSH client supports post-quantum key exchange algorithms
What a 'store now, decrypt later' attack is and why it threatens current SSH sessions
When GitHub's post-quantum SSH changes take effect and which environments are affected
Prerequisites & Requirements
- Basic understanding of SSH and how it's used for Git remote access
- OpenSSH 9.0 or newer for automatic post-quantum key exchange support(optional)
- Familiarity with public key cryptography and key exchange concepts(optional)
Key Questions Answered
What post-quantum SSH algorithm is GitHub adding for Git access?
What is a store now decrypt later attack in SSH?
When does GitHub enable post-quantum SSH key exchange?
How to check if my OpenSSH supports post-quantum key exchange?
Does GitHub's post-quantum SSH change affect HTTPS Git access?
What happens if my SSH client doesn't support post-quantum algorithms?
Why does GitHub use a hybrid post-quantum algorithm instead of pure post-quantum?
Why is GitHub's post-quantum SSH not available in the US data residency region?
Technologies & Tools
Key Actionable Insights
1Check your OpenSSH version and upgrade to 9.0 or newer to automatically benefit from post-quantum key exchange when connecting to GitHub over SSH. Run 'ssh -Q kex' to verify support for sntrup761x25519-sha512.OpenSSH 9.0+ includes this algorithm by default and will prefer it automatically during key exchange negotiation, requiring no manual configuration changes.
2Verify which key exchange algorithm your SSH client actually negotiates with GitHub by running 'ssh -v [email protected] exit 2>&1 | grep kex: algorithm:' after the change takes effect on September 17, 2025. This confirms you're getting post-quantum protection.Even if your client supports the algorithm, custom SSH configurations may override defaults. This diagnostic command helps confirm the negotiated algorithm.
3If you manage corporate SSH configurations that restrict key exchange algorithms (via KexAlgorithms in ssh_config), ensure sntrup761x25519-sha512 or [email protected] is included in the allowed list to benefit from post-quantum security.Organizations that have hardened SSH configurations may inadvertently block the new algorithm. Review and update allowed algorithm lists before the September 2025 rollout.
4Be aware that GitHub Enterprise Cloud with US data residency and GitHub Enterprise Server versions before 3.19 will not support this post-quantum algorithm. Plan upgrade timelines accordingly if you use these products.FIPS compliance requirements prevent the US region from using this algorithm until it receives FIPS approval. Enterprise Server users should plan to upgrade to version 3.19 when available.
5Consider the 'store now, decrypt later' threat model when evaluating the urgency of adopting post-quantum cryptography for your own services beyond GitHub. Any encrypted traffic captured today could potentially be decrypted by future quantum computers.This threat is particularly relevant for long-lived secrets, sensitive source code, and proprietary data transmitted over SSH that would still be valuable years from now.