GitHub Drops ssh-rsa on Jan. 13, With a Second Brownout Dec. 9
Security / news
GitHub Drops ssh-rsa on Jan. 13, With a Second Brownout Dec. 9
The same change adds ML-KEM post-quantum key exchange for SSH everywhere except GitHub's U.S. region.
GitHub will permanently stop accepting the ssh-rsa signature type and the diffie-hellman-group-exchange-sha256 key exchange on Jan. 13, 2027, and the second of two test outages (brownouts, in GitHub's term) lands Dec. 9. Anyone whose Git client still negotiates either will see connections to github.com fail on that day, then permanently five weeks later, according to the GitHub changelog entry dated Sept. 22.
The fix is on the client and costs nothing: use RSA with SHA-2 (rsa-sha2-256 or rsa-sha2-512), or switch to Ed25519, which GitHub recommends for new keys. HTTPS remotes are unaffected.
The four dates on GitHub's schedule
| Date | What changes |
|---|---|
| Oct. 14, 2026 | New RSA keys must be at least 3072 bits; ML-KEM key exchange enabled |
| Nov. 4, 2026 | First brownout of ssh-rsa and DH group exchange |
| Dec. 9, 2026 | Second brownout |
| Jan. 13, 2027 | Permanent removal of both |
Existing RSA keys do not need replacing. Only keys uploaded after Oct. 14 face the 3072-bit floor, which applies to both signing and authentication, per the changelog.
What the post-quantum addition covers
GitHub added mlkem768x25519-sha256, a hybrid key exchange that pairs the lattice-based ML-KEM-768 with classic X25519, so a session stays protected unless both are broken. It is enabled on github.com and on GitHub Enterprise Cloud with Data Residency, "except for the U.S. region," the changelog says. The page does not explain that exclusion.
That gives non-U.S. users protection against an attacker who records encrypted Git traffic today and decrypts it once a quantum computer exists. It does not change how a user authenticates: the key you upload to GitHub is still RSA, Ed25519 or ECDSA.
OpenSSH, the client most developers use, made the same algorithm its default in OpenSSH 10.0, released April 9, 2025. OpenSSH 10.1 (Oct. 6, 2025) added a client warning when a connection negotiates a key agreement that is not post-quantum safe. OpenSSH 10.5 (Aug. 11, 2026) added a server option, on by default, that logs when a client uses one.
So a machine running OpenSSH 10.0 or later has needed no action for the key exchange since April 2025. The machines at risk are older: build agents, container base images and embedded Git libraries.
Minimum client versions for RSA with SHA-2
The changelog lists the first release of each client that can sign RSA with SHA-2:
- OpenSSH 7.2p1
- JSch 0.1.66 (the mwiede fork)
- TeamCity 2021.2.3
- Go SSH 0.16.0
- libssh2 1.11.0
- PuTTY 0.82
PuTTY 0.82 is the highest version number on that list. The Terminal has not tested any of these clients against GitHub.
Enterprise Server
GitHub Enterprise Server gets the ML-KEM addition in 3.24 and the removals and RSA size rule in 3.25, so self-hosted instances do not move on the github.com dates. The same post-quantum thread runs through the NSA's guidance on which curves are not approved and WireGuard's pre-shared-key stopgap.
To see which key exchange a connection uses today, run ssh -v git@github.com exit and look for the kex: algorithm: line. Anything other than mlkem768x25519-sha256 outside the U.S. region means the client predates the change.
Sources
More in Security
- 01CISA Lists Two GeoServer Flaws, CVE-2026-120705 and CVE-2026-129243, as ExploitedPatches for 2.27.7, 2.28.6 and 3.0.2 shipped from Oct. 17, five weeks before the advisories that told operators why.
- 02Decepticon Claims 102 of 104 on XBOW, a Benchmark XBOW Calls SaturatedThe open-source red-team agent's headline score comes from a suite whose own maintainers say models have trained on it.
- 03NSA's Six-Step Post-Quantum Checklist Tells Owners to Find EdDSA and Every Curve Except P-384 and P-521The agency's Version 1.0 advisory sets no deadline and describes no new attack, but its inventory step names algorithms that neither CNSA suite approves.
- 04badkeys Had a Small-Key Check Requested Since November 2025; eMudhra's CA Key Was 4Hanno Böck's December 3 account lists five earlier chances to catch eight single-byte private keys, and how the researcher who found them got there.