OpenSSH 9.0 launched post-quantum key agreement algorithms

OpenSSH version 10.1 will soon display a warning to users: “WARNING: connection is not using a post-quantum key exchange algorithm. This session may be vulnerable to ‘store now, decrypt later’ attacks.” The message signals a shift in security posture as the OpenSSH project proactively addresses potential threats from future quantum computers. OpenSSH has included post-quantum key agreement algorithms by default since April 2022, beginning with version 9.0 and the sntrup761x25519-sha512 algorithm, and transitioned to mlkem768x25519-sha256 as the new default in April 2025.

sntrup761x25519-sha512 and mlkem768x25519-sha256 Enable Post-Quantum Key Agreement

The shift from the initially implemented sntrup761x25519-sha512 algorithm demonstrates a phased approach to bolstering security against future quantum computing threats. This change reflects a growing awareness of the potential for “store now, decrypt later” attacks, where encrypted communications are intercepted and saved for decryption once sufficiently powerful quantum computers become available.

To encourage adoption of these quantum-resistant algorithms, OpenSSH version 10.1 now displays a warning to users connecting with non-post-quantum schemes. The OpenSSH project provides more information at https://openssh.com/pq.html, explicitly flagging the potential vulnerability and directing users to further resources. This user-facing alert signals a clear shift in the security posture of SSH connections, prioritizing long-term resilience against emerging computational capabilities. The underlying concern stems from the potential of quantum computers to break many of the mathematical problems that currently secure cryptographic key agreement and digital signatures.

While cryptographically-relevant quantum computers have not yet been invented, estimates suggest their arrival within the next 5 to 20 years. OpenSSH’s implementation of post-quantum algorithms, which rely on different mathematical problems believed to be resistant to quantum attacks, aims to mitigate this risk. The team has supported post-quantum key agreement for several years, making it the default since OpenSSH-9.0, released in 2022, and continuing to refine the approach with algorithm updates and user warnings.

Stay current

See today’s quantum computing news on Quantum Zeitgeist for the latest breakthroughs in qubits, hardware, algorithms, and industry deals.

Avatar of Ivy Delaney

Ivy Delaney

Ivy Delaney has been working with neural networks and machine learning since the mid-nineties, back when a couple of hidden layers and a long afternoon of training counted as ambitious. She has watched the field go from academic curiosity to the thing quietly running underneath everything, and she brings that long view to quantum computing. For Quantum Zeitgeist she covers the ground where the two fields meet. That means quantum machine learning and the variational algorithms it leans on, and it also means the less glamorous but more interesting story of classical machine learning already doing real work inside quantum machines, decoding error-correcting codes, calibrating noisy hardware and learning the error models that simulators depend on. She writes about the hardware those algorithms have to run on too, and about the post-quantum cryptography scramble that the same hardware has set off. Her stories typically start with the paper, whether that is peer-reviewed work, conference proceedings or an arXiv preprint, with the source linked so you can hold a claim up against the research it came from. She is unimpressed by benchmarks that will not say what they beat, and by demonstrations that only work in the press release.

Latest Posts by Ivy Delaney: