On 2 December 2026, the NSA announced its Immediate Actions to Push Toward Post-Quantum advisory, which urges US National Security Systems to accelerate their post-quantum transition. Among the reasons it cites are findings that AI companies privately disclosed about cryptographic systems already in use. The advisory asks operators to flag, among other algorithms, EdDSA and elliptic curves other than P-384 and P-521 when used for ECDH or ECDSA. NSA advisory (PDF) · NSA announcement · Ars Technica’s guide to the advisory
Filippo Valsorda and Bruce Schneier read the advisory as a sign that some elliptic curves may be weaker than expected. One possible reason for the urgency is that a classical algorithm may already have been found that makes the discrete logarithm problem easier to solve on some 256-bit elliptic curves without a quantum computer. For SSH, the concern is about P-256 and Curve25519, the latter being the basis for X25519 key exchange and Ed25519 signatures. The public details available so far do not establish which curves are affected or what an attack would cost. Filippo Valsorda’s analysis · Bruce Schneier’s analysis
OpenSSH 9.9 introduced hybrid ML-KEM-768/X25519 key exchange and OpenSSH 10.0 made it the default. OpenSSH 10.6 also enables hybrid ML-DSA-44/Ed25519 signatures for server and user authentication. Keys generated for the earlier experimental algorithm with the @openssh.com suffix must be regenerated. OpenSSH release notes
ssh -V
ssh -Q kex | grep -Fx mlkem768x25519-sha256
ssh -Q HostKeyAlgorithms | grep -Fx ssh-mldsa44-ed25519
ssh -v -S none user@server date
ssh -Q lists algorithms recognised by the local client. Check the three operations separately in the ssh -v log. -S none opens a fresh connection even if a shared one already exists.
| Operation | Hybrid algorithm | Log entries to look for |
|---|---|---|
| Session key exchange | mlkem768x25519-sha256 | kex: algorithm: |
| Server authentication | ssh-mldsa44-ed25519 | kex: host key algorithm: |
| User authentication | ssh-mldsa44-ed25519 | Offering public key, Server accepts key and Authenticated to … using "publickey" |
In a test against an existing server, key exchange already used mlkem768x25519-sha256 and the server authenticated using ecdsa-sha2-nistp256. The hybrid user key had been copied to the server and its use still needed to be verified.
The standard packages in Debian 13 “Trixie” and Ubuntu 26.04 LTS “Resolute” already support hybrid key exchange. If that is all you need, check the connection as shown above. Testing hybrid signatures requires support at both ends.
If trixie-backports is already configured, use the existing entry. Otherwise, save debian-backports.sources in /etc/apt/sources.list.d/. Check the versions available for your architecture and simulate the installation.
sudo apt update
apt policy openssh-client openssh-server
apt -s install -t trixie-backports openssh-client openssh-server
If the simulation selects OpenSSH 10.6 or later and the proposed changes are acceptable, install the packages. On a system that only initiates SSH connections, openssh-client is sufficient for both the simulation and the installation.
sudo apt install -t trixie-backports openssh-client openssh-server
Backport availability varies by architecture. Debian Backports instructions · openssh-server versions by suite and architecture
You can install the OpenSSH packages from trixie-backports directly on Ubuntu. I tested the installation on two Ubuntu 26.04 hosts. On Ubuntu 26.04.1 amd64, I verified version 1:10.6p2-1~bpo13+1. The standard Ubuntu packages already support hybrid key exchange. The backport adds hybrid signatures.
Install the Debian archive keyring from the Ubuntu repositories. If the package is unavailable, check that Ubuntu’s universe component is enabled. It also provides libwtmpdb0, a server dependency.
sudo apt update
sudo apt install debian-archive-keyring
/etc/apt/sources.list.d/debian-backports.sources. If the suite is already configured, use the existing entry./etc/apt/preferences.d/debian-backports. The file assigns priority 500 to the four listed OpenSSH packages and −1 to the other packages in the suite.Refresh the package lists and simulate the installation. The /trixie-backports suffix selects the suite for the two requested packages and leaves pinning in effect for the others.
sudo apt update
apt policy openssh-client openssh-server openssh-sftp-server openssh-common
apt -s install openssh-client/trixie-backports openssh-server/trixie-backports
If the simulation selects OpenSSH 10.6 or later without removing packages or replacing other Ubuntu components with Debian packages, proceed with the installation.
sudo apt install openssh-client/trixie-backports openssh-server/trixie-backports
On a machine that only initiates SSH connections, openssh-client/trixie-backports is sufficient in both commands. After installation, repeat the checks in the first section. For security updates, use apt policy to check which version APT selects and check trixie-backports for updates while using the Debian packages. APT pinning · OpenSSH packages in Ubuntu 26.04
On the client, generate the key as a regular user. Accept the suggested path, or choose a new name if the file already exists. Copy only the public key to the server and keep the existing keys in authorized_keys.
ssh-keygen -t mldsa44-ed25519
ssh-copy-id -i ~/.ssh/id_mldsa44_ed25519.pub user@server
Open a fresh connection and limit user authentication to the hybrid signature. If you chose a different filename, update the path in the commands.
ssh -v -S none -o IdentitiesOnly=yes -o PreferredAuthentications=publickey \
-o PubkeyAcceptedAlgorithms=ssh-mldsa44-ed25519 \
-i ~/.ssh/id_mldsa44_ed25519 user@server date
Compare the fingerprint in Server accepts key with the output of ssh-keygen -lf ~/.ssh/id_mldsa44_ed25519.pub and look for the final authentication confirmation. For regular use, add IdentityFile ~/.ssh/id_mldsa44_ed25519 to the destination’s Host block in ~/.ssh/config, along with any backup identities you need.
Keep an administrative session open on the server. Check whether the package has already created /etc/ssh/ssh_host_mldsa44_ed25519_key. If the key is missing, sudo ssh-keygen -A generates missing default host keys and preserves existing ones.
sudo /usr/sbin/sshd -T | grep '^hostkey '
ssh-keygen -lf /etc/ssh/ssh_host_mldsa44_ed25519_key.pub
If you have an explicit list of host keys and the hybrid key path is missing from the output, add HostKey /etc/ssh/ssh_host_mldsa44_ed25519_key to the global sshd configuration and keep the other HostKey entries. If you customised HostKeyAlgorithms or PubkeyAcceptedAlgorithms on the server, check that they allow the hybrid signature for the relevant operation. Check the configuration before reloading the service.
sudo /usr/sbin/sshd -t && sudo systemctl reload ssh
Open a second session from the client with the command below. Before accepting the new host key, compare the fingerprint shown by the client with the one obtained from the server through a trusted channel. Check that the log shows ssh-mldsa44-ed25519 on the kex: host key algorithm: line and that login succeeds.
ssh -v -S none -o HostKeyAlgorithms=ssh-mldsa44-ed25519 user@server date
For regular use, HostKeyAlgorithms ^ssh-mldsa44-ed25519 in the Host block puts the hybrid signature at the front of the default list and keeps other algorithms available. The client can prefer the host key types it already knows for that destination. Check the result with ssh -v. ssh_config manual · sshd_config manual