Following NSA's advisory urging a faster move to post-quantum cryptography (our summary of the NSA advisory), one thing developers can do right away is check their SSH connections to GitHub. This article explains the difference between SSH key exchange and authentication, and walks through the steps to check and configure them. The steps are based on a setup that a developer published on a personal blog on December 4, 2026, checked against official GitHub and OpenSSH documentation (the developer's blog).
Key exchange and authentication are different things
SSH key exchange decides the key that encrypts the session. It is what matters for "store now, decrypt later" attacks, in which encrypted traffic is recorded today and decrypted once a quantum computer exists. Authentication keys confirm who is on the other end of the connection, or who wrote a commit. OpenSSH says that signatures such as RSA and ECDSA can also be broken by a quantum computer, but that there is no equivalent of "store now, decrypt later" for signatures, so traffic that has already been sent is not put at risk later (OpenSSH's post-quantum page).

Figure 1: The difference between SSH key exchange and authentication, and the flow of the steps. Sources: the developer's blog (December 4, 2026), GitHub's changelog (September 22, 2026) and key generation guide, OpenSSH's post-quantum cryptography page, the ONCD-NSA-CISA joint statement (December 2, 2026)
Since 9.0 (April 2022), OpenSSH has used the post-quantum key exchange sntrup761x25519-sha512 by default. Version 9.9 added mlkem768x25519-sha256, which became the default in 10.0 (April 2025) (OpenSSH's post-quantum page). Both are hybrids that combine a post-quantum scheme with the classical elliptic curve X25519.
On September 22, 2026, GitHub announced support for the SSH key exchange mlkem768x25519-sha256 and said it would be enabled on October 14 (GitHub's changelog). It covers github.com and GitHub Enterprise Cloud with Data Residency, except for the U.S. region. GitHub Enterprise Server is due to support it in version 3.24. The author of the blog mentioned above confirmed on December 4 that this method was selected for their connection to GitHub.
Checking the key exchange
In the blog's example, this command shows the key exchange that was actually selected:
ssh -v -o ControlPath=none -T git@github.com 2>&1 | grep "kex: algorithm"-o ControlPath=none makes SSH open a new connection instead of reusing an existing multiplexed one. If the name after kex: algorithm: starts with mlkem or sntrup, the key exchange is a post-quantum hybrid. To see which key was used for authentication, run the same command with grep "Server accepts key" instead.
Configuring it if needed
GitHub says SSH clients configured to prefer the new method will use it automatically, with no change needed on the user's side. Older clients fall back to an older key exchange automatically.
The blog's author notes that some machines force weaker defaults through system configuration, and that where you cannot change that yourself, for example on a managed laptop, you can put this in ~/.ssh/config:
Host github.com
KexAlgorithms mlkem768x25519-sha256,sntrup761x25519-sha512On company-managed machines, or where an SSH policy is in place, we recommend checking with your administrator before overriding the settings yourself (editors' note).
What to do about authentication keys
GitHub recommends Ed25519 for new keys whenever possible, and says the Ed25519 and ECDSA keys it supports will continue to work. New RSA keys uploaded after October 14, 2026, for both authentication and signing, must be at least 3072 bits (GitHub's changelog, GitHub's guide to generating SSH keys).
The blog's author, following a cryptography expert's analysis, thinks it is worth moving off Ed25519 sooner rather than later, and shows how to create a new ECDSA P-384 key and add IdentityFile and IdentitiesOnly yes to ~/.ssh/config. RSA-3072 is also listed as an option. Neither P-384 nor RSA-3072 is post-quantum, however. The author also describes this as the best that can be done for now, because GitHub offers no post-quantum option for authentication.
OpenSSH 10.6 (October 6, 2026) enabled ssh-mldsa44-ed25519, a hybrid signature that combines ML-DSA-44 with Ed25519 (OpenSSH release notes). GitHub's changelog and its key generation guide, however, do not mention post-quantum authentication keys. Making key exchange hybrid is worth doing now as a defense against "store now, decrypt later". Whether to replace Ed25519 authentication keys right away is a decision that should wait for official information from GitHub and others.
Commit signing and ssh-agent
If you sign commits with an SSH key, register the new public key separately on GitHub as a "signing key" as well. In the blog's example, user.signingkey in ~/.gitconfig points to the public key file, with gpg.format = ssh and commit.gpgsign = true. Then close any open connection, add the new key to the agent and check again:
ssh -O exit git@github.com
ssh-add ~/.ssh/id_ecdsa_githubThe blog also uses ssh-add -D to drop old keys, but this removes every key from the agent and can affect connections to other services.
Background: the joint statement's assessment
On December 2, 2026, the same day as NSA's advisory, the U.S. Office of the National Cyber Director (ONCD), NSA and CISA issued a joint statement. It says that American companies developing what the statement calls "Super Intelligence (SI)" have disclosed discoveries that affect the security of some cryptography in use, and that the current assessment, made in consultation with those companies, is that they do not present an immediate and widespread threat (joint statement). The statement does not name the affected cryptography. Rather than assuming that a specific algorithm has been broken, it makes sense to start with steps that help right away, such as checking key exchange.
What Japanese companies should check
Companies that manage development environments should check the following:
- Whether OpenSSH on developers' machines supports post-quantum key exchange (9.0 or later; 9.9 or later for
mlkem768x25519-sha256). - Whether they have checked the key exchange actually selected when connecting to GitHub and other services.
- Whether they are planning the move of authentication and commit signing keys while watching official information.
Key exchange can be checked today. For authentication keys, the realistic course is to plan while watching for official support.
Elith builds AI products for enterprises and conducts advanced research, with AI safety and security as its foundation. We share trends in AI safety and security, along with insights from research and practice, through Elith AI Signal. We will continue to read developments in cryptography and development-environment security from primary sources and report on them.

