Skip to main content

This week the NSA told the owners and vendors of US national security systems to “immediately accelerate the transition to post-quantum cryptography”, citing recent discoveries that “frontier SI companies” had disclosed to the US government. The advisory behind the press release, Immediate Actions to Push Toward Post-Quantum Cryptography, opens with an inventory step, and SSH sits in its list of protocols to audit, between IPsec and PKI. Most commentary since has been about TLS. We wanted to know how SSH is doing, because it carries deploys, database tunnels, backups and every git push you make.

So we checked two things this morning: the SSH servers behind Ireland’s most-visited websites, and the git hosts Irish development teams push code to.

TL;DR

  • Of 92 SSH servers answering behind the 1,325 most-visited .ie domains, 44 (48%) offer no post-quantum key exchange at all.
  • 14 of those 44 run OpenSSH 9.9, which supports ML-KEM. The software can do it; a system crypto policy switches it off.
  • Azure DevOps, AWS CodeCommit and Google Cloud Source Repositories all negotiate classical-only SSH. GitHub, GitLab and Bitbucket all offer ML-KEM.
  • The client matters as much as the server: from Ubuntu 24.04’s OpenSSH 9.6, pushes to GitLab, Bitbucket and Hugging Face fall back to classical X25519, the curve family the advisory appears to be steering away from.
  • Not one server in either sample offers a post-quantum host key, although OpenSSH has shipped one (ssh-mldsa44-ed25519) since October.

Why this advisory lands on SSH

The NSA’s public wording is careful. It does not say which algorithms are affected or by how much. But the inventory step asks operators to record anything “not approved in CNSA 2.0 or CNSA 1.0 (e.g., DSA, elliptic curves other than P-384 or P-521 for ECDH or ECDSA, EdDSA, deprecated Diffie-Hellman groups, pairing-based cryptography)”. Cryptographer Filippo Valsorda read that list as a strong hint that 256-bit elliptic curves, meaning P-256 and the Curve25519 family, are weaker than we thought. Ryan Hurst countered that the NSA’s older guidance already excluded those curves, so the list may signal nothing new. Both agree on what to do: get key exchange onto ML-KEM hybrids now, and start planning post-quantum authentication.

That reading matters for SSH more than for most protocols. Ed25519 is the preferred host key and the default user key on nearly every modern machine, and X25519 has been the default key exchange for a decade. The NSA’s line that “adversaries are already collecting encrypted information to decrypt once the capabilities become available” is also a better fit for SSH than for web browsing. A recorded SSH session can hold credentials and database dumps that stay sensitive for years.

What we measured

An SSH server announces every key exchange and host key algorithm it supports, in plain text, before any encryption starts. We wrote a small client that connects to port 22, reads that announcement and hangs up. It never attempts to log in.

We pointed it at the 1,325 .ie domains in the current Tranco top-million list, resolving both the bare domain and the www host. That gave 2,313 unique IPv4 addresses, of which 92 answered on port 22, covering 97 domains. Big sites sit behind CDNs, so this is the self-hosted and shared-hosting tail, which is where SSH lives. As in earlier surveys, we name no Irish site.

Key exchange offered Servers Share
ML-KEM hybrid and sntrup761 hybrid 5 5%
ML-KEM hybrid only 11 12%
sntrup761 hybrid only 32 35%
Classical only 44 48%
Total 92

The classical group splits three ways. 24 servers run OpenSSH 8.7 or older: nine on 7.4, the version CentOS 7 and Amazon Linux 2 ship, nine on 8.0 from the RHEL 8 family, and a handful older still, including one on 5.3. Six more run something other than OpenSSH, mostly ProFTPD’s mod_sftp. The interesting group is the other 14.

The 14 servers that could, but don’t

Fourteen servers announce OpenSSH 9.9, a release that supports both post-quantum hybrids and enables them by default upstream. None offers either hybrid, and 13 of the 14 send an identical classical list in the identical order, starting with curve25519-sha256. They sit on 10 different networks, from Irish hosts to OVH, Hetzner and AWS, so this is not one provider’s config file.

The pattern matches the Red Hat family. RHEL 9 and its rebuilds (AlmaLinux, Rocky, CloudLinux, and therefore a lot of cPanel servers) now ship OpenSSH 9.9, but Red Hat’s own PQC page says RHEL 9.7 supports post-quantum SSH only as an opt-in, via the DEFAULT:PQ crypto policy. RHEL 10 only made it the default from 10.1. The binary is ready and the policy file says no. On those machines the fix is one command:

# RHEL / AlmaLinux / Rocky 9.7+
sudo update-crypto-policies --set DEFAULT:PQ
sudo systemctl restart sshd

Only three servers in the whole sample run OpenSSH 10.x. None runs 10.6.

Where your code goes: the git hosts

For an agency, the SSH connection that matters most is not to a web server. It is the one carrying source code, deploy keys and secrets from laptops and CI runners to a git host. We checked 20 public endpoints, which we are happy to name because they are infrastructure everyone shares.

Host Post-quantum key exchange Host keys offered
GitHub (port 22 and 443) ML-KEM + sntrup761 Ed25519, P-256, RSA
Codeberg, sourcehut, Debian Salsa ML-KEM + sntrup761 RSA plus Ed25519 and/or P-256
GitLab.com (22 and 443) ML-KEM only DSA, P-256, Ed25519, RSA
Bitbucket Cloud (22 and 443) ML-KEM only Ed25519, P-256, RSA
Hugging Face, Gitea.com, Launchpad ML-KEM only RSA, some with P-256 and Ed25519
Platform.sh git and ssh endpoints ML-KEM only RSA
WP Engine git push sntrup761 only RSA, P-256, Ed25519
Azure DevOps (both hostnames) None: finite-field DH only RSA
AWS CodeCommit (eu-west-1) None: DH group14-sha1 and group exchange RSA
Google Cloud Source Repositories None: ECDH incl. P-256 P-256 only

The three hyperscaler git services are the laggards, and Azure DevOps is the one that matters in Ireland: it is the default in a lot of Microsoft-shop enterprises and public bodies. Every push to it over SSH today is protected by classical Diffie-Hellman that a future quantum computer would break, and nothing on the client side can change that. If that matters for your repositories, ask Microsoft for a date, and treat HTTPS as an alternative only after checking what it actually negotiates.

GitLab still advertises an ssh-dss host key, a DSA algorithm OpenSSH removed outright in 2025, and one the NSA list names first.

The half nobody checks: your client

SSH picks the first algorithm on the client’s list that the server also supports. A server that offers only ML-KEM is post-quantum only for clients that also speak ML-KEM, which upstream OpenSSH added in 9.9.

We tested that from an ordinary Ubuntu 24.04 machine, which ships OpenSSH 9.6. Against GitHub, Codeberg and WP Engine it negotiated sntrup761x25519, because those servers still offer the older hybrid. Against GitLab, Bitbucket, Hugging Face and Platform.sh it fell back to plain curve25519-sha256, with no warning. Those servers did the modern thing and dropped sntrup761, and the older client quietly lost post-quantum protection as a result.

This bites in CI. GitHub’s ubuntu-latest now means Ubuntu 26.04 with OpenSSH 10.2, but many workflows pin ubuntu-24.04, and self-hosted runners and build images drift further behind (Debian 12 ships 9.2, RHEL 8 ships 8.0). Check what yours gets:

# Which key exchange does this client support?
ssh -Q kex | grep -E 'mlkem|sntrup'

# What did a real connection negotiate?
ssh -v git@gitlab.com 2>&1 | grep 'kex: algorithm'

From OpenSSH 10.1 onwards the client prints a warning when a connection is not post-quantum, and 10.6 added a matching server-side log option, WarnWeakCrypto. Turn it on and your sshd logs become a free inventory of which clients are still classical.

Host keys: nobody has started

Key exchange protects against recording now and decrypting later. Host and user keys protect against impersonation, which until this week sounded like a 2030s problem. If Valsorda’s reading is right, it is closer.

Across all 112 servers we checked, the number offering a post-quantum host key was zero. OpenSSH 10.6, released on 6 October, enabled the hybrid ssh-mldsa44-ed25519 signature scheme, which stays secure as long as either ML-DSA or Ed25519 holds. It only helps where you control both ends, because every client needs 10.6 as well. That still covers your own fleet, bastion hosts and the CI-to-production deploy path.

What we would do this week

  1. Inventory. Run a banner grab against every SSH endpoint you own, as the NSA asks. It takes minutes and needs no credentials.
  2. Fix the servers that are one setting away. On RHEL-family 9.7 and later, set DEFAULT:PQ. On OpenSSH 9.0 or later, check that a hardening template has not stripped the hybrids out of KexAlgorithms.
  3. Offer both hybrids. Until every client is on 9.9 or later, keep sntrup761x25519-sha512 alongside ML-KEM so older clients do not fall back silently:
    KexAlgorithms mlkem768x25519-sha256,sntrup761x25519-sha512,sntrup761x25519-sha512@openssh.com,curve25519-sha256
  4. Upgrade the clients that move code. CI images, deploy containers and developer laptops matter as much as servers.
  5. Plan the rest. Map out OpenSSH 10.6 and ML-DSA host and user keys for the paths you control end to end, and decide what you will do about any git host that stays classical.

None of this is exotic. It is configuration and image hygiene, the unglamorous DevOps work that decides whether an advisory like this costs you a week or a year. If you want a second pair of eyes on your SSH estate, CI pipelines or wider post-quantum migration, our DevOps and security team does exactly this. Get in touch.

Method notes

Scans were run on 3 December 2026 from a single host in the EU, one unauthenticated connection per address, reading only the server’s KEXINIT message. Population: the 1,325 .ie domains in Tranco list N2V3W, apex and www resolved over IPv4. Networks via Team Cymru; distribution versions via Repology. Sources: NSA advisory PP-26-4956, Filippo Valsorda’s and Ryan Hurst’s analyses, OpenSSH release notes, Red Hat’s PQC page.

📷 Photo by Fabio Sasso on Unsplash