On December 2, something was disclosed to the U.S. government that was serious enough for the NSA, CISA, and the Office of the National Cyber Director to speak together about post-quantum cryptography. The calendar behind that warning is short: the first compliance gate lands January 1, 2027. So, what can we do now?
What?
On December 2, 2026, the NSA advised National Security Systems owners, operators, and vendors to immediately accelerate the transition to post-quantum cryptography. The trigger is what makes it worth reading twice. Frontier AI companies engaged with the U.S. government to responsibly disclose recent discoveries that impact the security of some cryptographic systems currently in use. The disclosure went to the government, not to the public, and the NSA named no company and no algorithm.
The same day, the NSA, CISA, and the Office of the National Cyber Director issued a joint statement. It said the advances do not present an immediate and widespread threat to current cryptography. Read together, the two facts are specific: this is not a break, and it is not a panic. It is a disclosure serious enough to move three agencies at once, about discoveries the public has not seen.
The NSA also released an advisory the same day, Immediate Actions to Push Toward Post-Quantum (PP-26-4956), laying out steps organizations can take now. Eight vendors backed the guidance the same day: Amazon, Anthropic, Apple, Cloudflare, Google, Microsoft, OpenAI, and Oracle.
Two scope notes. First, the advisory is aimed at National Security Systems, not a blanket order to everyone. Second, this is distinct from Anthropic’s published ML-KEM and ML-DSA papers, which concern a different discovery. Conflating the two would be easy, and it would be wrong.
The line in the NSA release I keep returning to is the reason the advisory exists at all: Adversaries are already collecting encrypted information to decrypt once the capabilities become available. That is the harvest now, decrypt later problem stated as a present fact. The recording is already happening.
The advisory lands on ground that was already prepared. In October 2025, OpenSSH 10.1 started warning whenever a connection negotiated a classical key exchange. In September 2025, GitHub turned on post-quantum SSH for github.com. Neither is the news here. They are the reason the news lands somewhere useful.
So What?
The advisory says post-quantum is closer, and the calendar behind it is what turns a warning into a deadline. The dates are written down, they start in less than a month, and they reach you through the products you buy and the requirements your customers send you.
The suite itself is the first thing to get straight, because it names what replaces the old world. CNSA 2.0 contains no RSA at all. For key establishment it requires ML-KEM-1024, for signatures ML-DSA-87, alongside AES-256 and SHA-384 or SHA-512, with LMS or XMSS for firmware and software signing. RSA is not on a slow glide path here. It is simply absent from the list. On January 1, 2027, new national security system acquisitions must be CNSA 2.0 compliant. On December 31, 2030, equipment that cannot support CNSA 2.0 is phased out. On December 31, 2031, CNSA 2.0 is mandated. And the outer marker is 2035, when full quantum resistance is targeted under NSM-10. Four dates, and the first one lands less than a month after the advisory.
What strikes me looking back is how long the pieces have been in place. The hybrid landed in 2021, became the default in 2022, and the standard behind it was published in 2024. In 2025 the pressure arrived: GitHub turned it on for one of the largest SSH surfaces in the world, and OpenSSH started telling users, out loud, when a connection was not using it. October 2026 added the server side of that visibility, when OpenSSH 10.6 began logging clients that connect without a post-quantum exchange.

The threat is easy to state and hard to feel. A sufficiently powerful quantum computer could break the classical key exchanges SSH relies on today, Diffie-Hellman and elliptic curve. Nobody needs to wait for that machine to exist. An adversary who records your encrypted SSH traffic now can store it and decrypt it later, once the machine arrives. That is the store now, decrypt later problem, and it is the reason key exchange matters more urgently than almost anything else in the post-quantum migration. A session key negotiated today protects traffic that is being recorded today. Signatures can wait a little longer, because forging one needs an active attack at the time of connection, not a recording. Key exchange cannot wait, because the recording is already happening.
A hybrid key exchange answers that problem without asking anyone to bet everything on a new algorithm. It runs two key exchanges in parallel: a post-quantum key encapsulation mechanism, or KEM, and a classical algorithm, usually X25519. The session key is derived from both. The connection stays secure as long as at least one of the two components holds. If the new lattice math turns out to have a flaw, the classical half still protects you. If a quantum computer arrives, the post-quantum half still protects you. That belt and braces construction is what made hybrids deployable years before the standards were final, and it is why OpenSSH shipped one so early.
OpenSSH’s first hybrid, sntrup761x25519-sha512, pairs the Streamlined NTRU Prime KEM with X25519. It arrived as an experiment in OpenSSH 8.5 in March 2021 and became the default in OpenSSH 9.0 on April 8, 2022. The second hybrid, mlkem768x25519-sha256, pairs ML-KEM-768, the NIST standardized KEM from FIPS 203, with X25519. It was added in OpenSSH 9.9 on September 19, 2024 and became the default in OpenSSH 10.0 on April 9, 2025. NIST published the three post-quantum standards, FIPS 203 for ML-KEM, FIPS 204 for ML-DSA, and FIPS 205 for SLH-DSA, on August 13, 2024, which is what turned ML-KEM from a promising candidate into the standard to build on.
The two hybrids are close cousins, and in practice you can treat either as a good outcome. ML-KEM-768 has a public key of 1,184 bytes and a ciphertext of 1,088 bytes. sntrup761 has a public key of 1,158 bytes and a ciphertext of 1,039 bytes. Both produce a 32 byte shared secret, and both ride alongside a 32 byte X25519 exchange. I reach for ML-KEM first because it is the NIST standard, which is what regulated environments and the CNSA 2.0 timeline point at. I keep sntrup761 second because it has been in the field longer, and GitHub offers it first.
One mechanical detail decides which of these your session actually uses, and it is worth knowing before the configuration sections. In the SSH handshake, the client sends its key exchange algorithms in preference order, and the server picks the first one on that list that it also supports. Preference lives on the client side. A server can offer every hybrid in the book, and it will still negotiate classical cryptography if the client’s list puts classical first. That is the whole story of the macOS problem in one sentence, and it is why the fixes here are client side fixes: change the order your client offers, and the negotiation follows.
The first objection I hear to post-quantum key exchange is size, and the objection is not wrong, only misweighted. A classical X25519 handshake moves 64 bytes in total, 32 from each side. A sntrup761 hybrid moves 2,261 bytes: 1,190 from the client and 1,071 from the server. An ML-KEM-768 hybrid moves 2,336 bytes: 1,216 from the client and 1,120 from the server. That is roughly 36 times the classical size, and if you stare at the ratio it looks alarming.
Then I look at the absolute number, and the alarm fades. The extra cost is about 2.3 kilobytes, once, at the start of a session that will carry megabytes. On any network where SSH is usable at all, 2.3 KB is noise. The size matters in constrained places: embedded devices, high latency links, and fleets doing thousands of short lived connections, where handshake overhead multiplies. For an interactive session from a laptop, it is not the reason to wait.

Now What?
That is the calendar. The work is closer to home. Here is the part that caught me when I ran the check on my own machines thanks to wonderful guidance by Cyris : my Mac ran a current OpenSSH, my servers supported the hybrids, and the negotiation still came back classical.
The macOS gap is the more surprising of the two, because the machine looks ready and is not. Apple ships a system file, /etc/ssh/crypto.conf, which is a symlink to Apple’s crypto policy, and it contains a line that reads KexAlgorithms ^ecdh-sha2-nistp256. That caret prepends classical ECDH on the P-256 curve ahead of everything else, including the hybrids. The result is that a modern macOS client connecting to a modern server negotiates P-256 first and never reaches the post-quantum algorithms at all. This has been present since macOS 15 Sequoia, and it is confirmed on macOS 26.4.1 running OpenSSH 10.2 and on macOS 27.2 running OpenSSH 10.5p1. The newest macOS ships one of the newest OpenSSH releases, and still negotiates classical cryptography by default.
There is a second macOS wrinkle that makes the gap harder to notice. OpenSSH 10.1 added a client warning for non-post-quantum connections, controlled by the WarnWeakCrypto option, which defaults to on. But that warning is suppressed whenever KexAlgorithms is explicitly set, and Apple’s crypto.conf sets it. So a Mac with the Apple override will not warn you. The safety net OpenSSH built in 2025 is switched off by the very configuration that causes the problem. You have to check manually, which is what the next section is for. One honest note: behavior varies by macOS version, and at least one report has a newer macOS build negotiating ML-KEM by default, so your machine may already be fine. The check takes ten seconds, and I would rather run it than assume.
The Windows gap is simpler and easier to forgive. Windows has no equivalent of Apple’s forced classical preference. Once a Windows OpenSSH build includes the hybrid algorithms, it generally follows upstream defaults and prefers them when the server does too. The problem is version lag. The in-box OpenSSH on Windows is a Feature on Demand that trails upstream, sitting around 9.5.x. That build does have sntrup761, which dates to 9.0, but it does not have ML-KEM, which needs 9.9 or later. So a Windows machine can be one release behind the algorithm that matters most, and nothing in the system will tell you.
The lag is structural: the in-box OpenSSH moves on the Windows servicing calendar, not on OpenSSH’s release calendar, so it can sit several releases behind upstream. Microsoft documents the in-box OpenSSH as a Windows capability, and the version it carries reflects that servicing rhythm. That is a reasonable choice for an operating system, and a bad place to get your cryptography. The Preview package exists precisely for people who want the current upstream, and winget is the cleanest way to get it.

GitHub is the reason I use it as the test target, and the reason I trust the test. GitHub announced post-quantum SSH on September 15, 2025 and enabled it on September 17, 2025 for github.com and for GitHub Enterprise Cloud outside the US region. US region Enterprise Cloud is excluded, for FIPS reasons. GitHub offers sntrup761 first, and also offers ML-KEM, which an October 26, 2026 test confirmed. If your client negotiates a hybrid against GitHub, your client is doing post-quantum key exchange. If it negotiates classical against GitHub, the problem is on your side, because the server side is already there. GitHub documents its own test command, which I use verbatim:
ssh -v git@github.com exit 2>&1 | grep 'kex: algorithm:'
How I checked, and how I fixed it
The check is the same idea on both platforms: confirm the version, confirm the algorithms are listed, then watch a real negotiation. The fix differs, because the cause differs.
On macOS, I started with the version and the algorithm list:
ssh -Vssh -Q kex | grep -E 'mlkem|sntrup'
If those two commands show a current OpenSSH and both hybrid names, the build is fine, and the question is purely about preference order. Then the live test against GitHub:
ssh -v git@github.com true 2>&1 | grep 'kex: algorithm'
If the output shows mlkem768x25519-sha256 or sntrup761x25519-sha512, the session is already hybrid. If it shows ecdh-sha2-nistp256 or curve25519-sha256, Apple’s override is doing its work.
There is one more diagnostic I used when the GitHub test comes back classical and I want to see why rather than guess. ssh -G prints the effective configuration for a host, after every file has been read and every override applied:
ssh -G git@github.com | grep -i kexalgorithms
The order in that output is the order your client offers, and it settles the question of which file is winning. On a stock Mac, the first entry will be ecdh-sha2-nistp256, straight from Apple’s policy file. After the fix below, the first entries will be the two hybrids.
The fix is one line, and placement is everything. Put this at the top of ~/.ssh/config, creating the file if it does not exist:
KexAlgorithms ^mlkem768x25519-sha256,sntrup761x25519-sha512@openssh.com
The caret prepends the two hybrids to the default list, so they get highest priority while classical algorithms stay available as fallbacks for older servers. Three placement details matter. First, the line goes above any Host blocks, because settings inside a Host block apply only to that host. Second, it goes above the OrbStack Include line if you use OrbStack, because included files can carry their own settings. Third, and most importantly, your ~/.ssh/config is read before the system files, and the first value wins, which is why a user level line can override Apple’s system level line at all. After saving, I re-run the GitHub test and confirm the hybrid appears. If it does not, the line is in the wrong place, or a second KexAlgorithms line later in the file is winning.
On Windows, I start the same way, in PowerShell or Command Prompt:
ssh -Vssh -Q kex | Select-String "mlkem|sntrup"ssh -v git@github.com true 2>&1 | findstr "kex: algorithm"
If ssh -Q kex shows no hybrid names, the build is too old and no configuration line will help. The fix is to install the OpenSSH Preview. Before installing anything, I check what winget actually offers, because package IDs change, and one source lists the ID as Microsoft.OpenSSH.Beta:
winget search openssh
The Preview package is real: Preview 10.4.0.0 was released on October 20, 2026. Once the search confirms the current ID, the install is:
winget install Microsoft.OpenSSH.Preview
After the install, the Preview lands in C:\Program Files\OpenSSH, and the in-box copy is still on the machine, so I verify which one the shell actually finds:
where ssh
If the in-box path wins, the Preview is installed but not the one running, and the version check will still show the old build. Once the Preview is the one on the path, the same optional configuration line works on Windows, placed at the top of %USERPROFILE%\.ssh\config:
KexAlgorithms ^mlkem768x25519-sha256,sntrup761x25519-sha512@openssh.com
For PuTTY users, the version matters more than the setting. PuTTY 0.83, released February 8, 2025, added ML-KEM, with NTRU Prime support going back to 0.78. I recommend 0.84 or later anyway: 0.84 was released May 22, 2026, 0.85 followed in August 2026, and 0.83 is now archived with known vulnerabilities fixed in 0.84. Running the oldest build that happens to have the feature is a different kind of gap.
The server side, and the signature question
Client configuration is only half the connection. Both ends must offer at least one common hybrid, and a server running an OpenSSH older than 9.0 offers none at all. If your test against an internal server comes back classical, check the server version before assuming the client is at fault. The verbose output of any connection shows the remote software version in its banner line, and sshd -T on the server itself prints the effective server configuration. Those two checks separate a client problem from a server problem in under a minute. The long term fix is to upgrade the servers too, and OpenSSH 10.6 now helps you find the stragglers: it added WarnWeakCrypto to sshd_config, on by default, so the server logs clients that connect without a post-quantum exchange. That log is a migration inventory waiting to be read.
Host keys and user authentication signatures are a separate concern, and they move on a slower clock, for a good reason. Key exchange protects recorded traffic, which is why it came first. Signatures authenticate the parties, and a forged signature requires an active attack at the time of connection, not a recording. The hybrid signature story is also younger. Experimental mldsa44-ed25519 support arrived in OpenSSH 10.4 on July 6, 2026, disabled by default, and OpenSSH 10.6 enabled it as ssh-mldsa44-ed25519 on October 6, 2026. One detail to carry forward: the enabled name has no @openssh.com suffix, and keys created under the experimental name have to be regenerated. August 2026 also added a third post-quantum key exchange, mlkem768nistp256-sha256, which pairs ML-KEM with the NIST P-256 curve for environments that need a FIPS approved classical component alongside the lattice KEM. I am not migrating signatures yet, and I would not rush anyone else to. Key exchange first, signatures when the tooling and the policies have settled.
Everyone else
The two platforms above are the ones that surprised me, but they are not the only ones that matter. On Linux, the news is mostly good already. Ubuntu 26.04, Fedora 45, and Debian 13 already prefer ML-KEM by default, so there is nothing to do. Ubuntu 24.04 and Debian 12 already negotiate sntrup761 by default, which means they are already post-quantum, just without ML-KEM. The same one-line config fix works on all of them, and it cannot add ML-KEM where the installed OpenSSH predates 9.9, so on an older box the real fix is the distro upgrade.
On a phone, there is nothing to configure. Termius already negotiates the ML-KEM hybrid on iOS, Android, and desktop, and Blink Shell on iOS already prefers ML-KEM, since it is built on libssh 0.12.0, which added hybrid post-quantum key exchange as the preferred option. On Android, Termux ships stock OpenSSH, so it is a package install away from the same setup.
In the cloud, the guest operating system decides. EC2 Instance Connect, Google’s IAP, and Azure Bastion all run the SSH session between your client and the guest, so the fix follows the guest’s OpenSSH version, and your local client matters exactly as much as it does for a direct connection. One exception is worth naming: AWS Session Manager is not SSH at all. Its shell channel runs over TLS through the SSM Agent, so there is no key exchange to make post-quantum there.
What’s next?
The lesson I keep coming back to is not about quantum computers. It is about the distance between a capability existing and a capability being used. OpenSSH shipped a post-quantum hybrid in 2021. NIST standardized the underlying KEM in 2024. GitHub turned it on in 2025. A disclosure the public never saw is what finally put a date on it, and the NSA is urging migration now, ahead of a January 2027 compliance gate. And still, on two of the most common desktop platforms in the world, a default configuration or an old version quietly negotiates classical cryptography, and nothing tells you unless you ask.
That is a manageable problem, and the check is the whole job. Ten seconds against GitHub tells you where you stand. One line in a configuration file, or one package install, closes the gap on the client. A version check closes it on the server. The work is small, the window to do it calmly is still open, and the traffic being recorded today is the traffic a future machine will read. I’m going to start a small habit now: after any macOS upgrade or any new laptop setup, I will run the GitHub test before I do anything else, because upgrades can restore defaults. The check is ten seconds, and it is the difference between assuming and knowing. I would rather my sessions be hybrid now, while the choice is cheap, than classical later, when it is not.





Leave a Reply