OpenSSH enforces post-quantum warnings as PQC shift accelerates

A cracked ice sheet over dark water, with faint glowing footprints leading from solid ice to open cracks, symbolising current data exposure to future quantum threats.

OpenSSH has begun warning users when their SSH connections rely on cryptographic algorithms vulnerable to future quantum attacks. Starting with version 10.1, released in April 2025, the software displays a clear warning if a session does not use post-quantum key exchange (PQ KEX). This change reinforces a years-long shift toward quantum-resistant cryptography, now gaining momentum across governments and tech firms.

The warning reads: “WARNING: connection is not using a post-quantum key exchange algorithm. This session may be vulnerable to ‘store now, decrypt later’ attacks.” Users are directed to https://openssh.com/pq.html for guidance. The alert is enabled by default but can be selectively disabled using the WarnWeakCrypto option in ssh_config(5), for example when connecting to legacy systems.

How OpenSSH implemented post-quantum security

OpenSSH first introduced post-quantum key agreement in version 9.0 (April 2022) with the hybrid algorithm sntrup761x25519-sha512. This combines a classical ECDH key exchange with a quantum-resistant scheme. In OpenSSH 9.9, a second hybrid option, mlkem768x25519-sha256, was added. It became the default in OpenSSH 10.0 (April 2025), replacing the older PQ algorithm due to its alignment with NIST’s emerging PQC standards.

Both algorithms are hybrid, meaning they combine classical and post-quantum cryptography. Even if the post-quantum component is later broken, the connection remains at least as secure as traditional ECDH/x25519. This design minimises risk during the transition, balancing forward-looking protection with current cryptographic confidence.

Why act before quantum computers exist?

Quantum computers capable of breaking RSA or ECC encryption do not yet exist. However, estimates for when a cryptographically-relevant quantum computer could emerge range from 5 to 20 years, with many observers expecting them in the mid-2030s. The real threat lies in “store now, decrypt later” attacks: adversaries can record encrypted SSH sessions today and decrypt them years later once quantum hardware is available.

This makes SSH traffic—often used for administrative access to critical infrastructure—highly sensitive. Organisations in the UK, UAE, US, and Kazakhstan managing long-lived data or infrastructure should assume that any non-PQ SSH session is already at risk. The UK’s NCSC and NIST have both advised beginning PQC migration, particularly for systems with long data retention requirements.

OpenAI backs global PQC migration

OpenAI has joined the call, issuing a joint statement supporting NIST’s PQC standards and urging rapid adoption. While OpenAI does not develop cryptographic libraries, its endorsement signals growing awareness among major tech players. The statement references NIST’s selected algorithms, including ML-KEM (used in OpenSSH’s new default), which is now becoming the de facto standard for key encapsulation.

This alignment between open-source implementers like OpenSSH and policy-influencing entities like OpenAI and NIST strengthens the ecosystem’s ability to coordinate a smooth transition. For IT leaders, it means PQC is no longer theoretical—it is being baked into foundational tools.

What it means for businesses

Organisations using SSH for remote access must now audit their server configurations. If servers run OpenSSH versions earlier than 9.0, they lack built-in post-quantum support. Even with newer versions, administrators may have disabled PQ algorithms via KexAlgorithms settings.

For compliance and long-term data protection, upgrading to OpenSSH 10.0+ and ensuring PQ KEX is enabled is essential. Where legacy systems cannot be upgraded, the WarnWeakCrypto no-pq-kex directive can suppress warnings—but should be used sparingly and documented.

Post-quantum signatures, unlike key exchange, do not pose an immediate risk to past communications. However, OpenSSH plans to support PQ signatures in the future, meaning organisations should prepare for a second wave of updates.

Action over theory

The OpenSSH warnings mark a shift from preparation to enforcement. For founders and IT teams in the UK, UAE, US, and Kazakhstan, this is a signal to act: review SSH versions, test PQ compatibility, and prioritise upgrades for high-risk systems. The cost of inaction isn’t immediate compromise—it’s irreversible exposure of today’s traffic to tomorrow’s quantum decryption.

Sources

Leave a Reply

Your email address will not be published. Required fields are marked *