The Library

OpenSSH Post-Quantum Warning: What the OpenSSH 10.1 Message Means, Which Versions Fix It and What to Check on Your Servers

Since OpenSSH 10.1, the ssh client shows a warning when a connection does not use post-quantum key exchange. Here is what it means, what is and is not confirmed, and how to clear it by updating your servers.

Elite Performance Exclusive LLC 7 min read

Where Worldwide

OpenSSH Post-Quantum Warning: What the OpenSSH 10.1 Message Means, Which Versions Fix It and What to Check on Your Servers
On this page 9 sections

If you or the person who runs your IT connect to servers over SSH, recent versions of the OpenSSH client print a warning when a connection is not protected by post-quantum key exchange. The warning does not mean you were hacked. It means the server is using an older key exchange that OpenSSH says may be open to "store now, decrypt later" attacks, and the usual fix is to update the server.

What the OpenSSH post-quantum warning says

OpenSSH 10.1 was released on 2025-10-06. Its release notes include this change:

ssh(1): add a warning when the connection negotiates a non-post quantum key agreement algorithm.

OpenSSH's post-quantum page shows what the message looks like. The first line reads:

** WARNING: connection is not using a post-quantum key exchange algorithm.

The page also shows this line:

** This session may be vulnerable to "store now, decrypt later" attacks.

The warning comes from ssh, the client program an admin runs to log in. What triggers it is the method the two sides agree on during the connection. That means a fully updated laptop will still show the warning if the server at the other end cannot agree on a post-quantum method.

The release notes also say: "This warning may be controlled via a new WarnWeakCrypto ssh_config option, defaulting to on." In other words, the warning appears unless someone has turned it off.

What "store now, decrypt later" means

OpenSSH's page names the threat:

This is referred to as a "store now, decrypt later" attack (also as "harvest now, decrypt later").

The idea is simple. Someone who can see your network traffic records encrypted SSH sessions today and keeps the recordings. If a quantum computer later becomes able to break the key exchange that protected those sessions, the recordings could be decrypted. OpenSSH's response is post-quantum key exchange, and the new warning tells you when a connection is not using it.

What is confirmed and what is not

Confirmed by OpenSSH's own pages:

  • The ssh client in OpenSSH 10.1 warns when a connection agrees on a key exchange method that is not post-quantum.
  • The warning is controlled by the WarnWeakCrypto ssh_config option, which is on by default.
  • OpenSSH has offered post-quantum key agreement by default since release 9.0 (April 2022), starting with the sntrup761x25519-sha512 algorithm.
  • OpenSSH 9.9 and later also support mlkem768x25519-sha256.

Not confirmed or not known:

  • Whether anyone is currently collecting SSH traffic for later decryption. The OpenSSH pages we used explain what this kind of attack is. They do not name anyone doing it, they give no evidence that SSH traffic in particular is being collected, and they do not say when a quantum computer able to do this will exist.
  • Our sources do not describe this as a flaw in OpenSSH, and they give no CVE number. It is a warning about older encryption choices.
  • OpenSSH's notes only cover OpenSSH. They do not say which other SSH software, such as the SSH servers built into firewalls, switches or storage appliances, supports these algorithms.

Which OpenSSH versions support post-quantum SSH

OpenSSH version Post-quantum key exchange
Older than 9.0 Not offered by default
9.0 and later sntrup761x25519-sha512, offered by default
9.9 and later sntrup761x25519-sha512 and mlkem768x25519-sha256
10.1 and later (client) Also warns when a connection is not using post-quantum key exchange

The key exchange is agreed between the two ends, so the client and the server both need to support the same post-quantum method. Our sources do not say which side more often falls behind, so it is worth checking both ends of each connection.

Why this matters for a business network

SSH is how admins and developers manage web servers, databases, backup boxes and cloud machines. Those sessions carry commands, configuration files and sometimes copies of business data. A recording of that traffic only matters if it can be decrypted, but some of what passes through admin sessions stays sensitive for years.

The warning also brings a practical risk. If staff see it on every login and nobody explains it, they learn to ignore warnings, or someone switches WarnWeakCrypto off to stop the noise. Either way, the warning stops telling you anything. It is more useful to treat it as a free inventory tool: every server that triggers it is a server running older SSH software that probably needs updating anyway.

One more point from OpenSSH's page is worth knowing: "Yes, most currently-used signature algorithms (including RSA and ECDSA) can be broken by a quantum computer." Signatures are what prove a server or user is who they claim to be, which is a separate job from key exchange. Our sources do not say what OpenSSH recommends doing about signature keys, so we are not giving advice on that here.

What to do this week

Step What to do Why
1 List every machine your team connects to over SSH: web servers, cloud servers, jump hosts, backup and storage boxes, network gear You cannot update what you have not listed
2 Check the OpenSSH version on each server, using your package manager or ssh -V Older than 9.0 means no post-quantum key exchange by default
3 Update servers to OpenSSH 9.9 or later where you can 9.9 and later support both mlkem768x25519-sha256 and sntrup761x25519-sha512
4 Update admin laptops and jump hosts to OpenSSH 10.1 or later The 10.1 client shows the warning, so you can see which connections still need work
5 Leave WarnWeakCrypto on Turning it off hides the message without fixing anything
6 Look for custom KexAlgorithms lines in old SSH configs A hand-written list from years ago may leave out the post-quantum methods
7 For appliances that warn and cannot run newer OpenSSH, ask the vendor about post-quantum key exchange OpenSSH's notes do not cover other vendors' SSH servers

Other OpenSSH 10.1 changes to know before upgrading

The same release includes two changes that can affect scripts and tools:

  • ssh now refuses control characters in usernames passed on the command line.
  • ssh-agent and sshd moved agent listener sockets from /tmp to under ~/.ssh/agent. If any of your scripts or tools expect to find the agent socket in /tmp, test them after upgrading.

OpenSSH post-quantum warning questions people are asking

Does the OpenSSH post-quantum warning mean I was hacked?

No. It means the connection agreed on a key exchange method that is not post-quantum. It says nothing about whether anyone has accessed your server.

How do I get rid of the warning?

Update the server so it supports post-quantum key exchange: version 9.0 or later at minimum, and 9.9 or later for mlkem768x25519-sha256. The WarnWeakCrypto option can switch the warning off, but that only hides the message.

What is harvest now, decrypt later?

It is another name for store now, decrypt later: encrypted traffic is recorded today and kept in case it can be decrypted in the future, for example with a quantum computer.

Are attackers actually recording SSH traffic right now?

Our sources do not say. OpenSSH describes the type of attack but does not name anyone doing it or give evidence that SSH traffic is being collected.

Which OpenSSH version supports post-quantum key exchange?

Version 9.0 and later offer sntrup761x25519-sha512 by default. Version 9.9 and later also support mlkem768x25519-sha256.

When was the warning added?

In OpenSSH 10.1, released on 2025-10-06.

Can quantum computers break RSA and ECDSA SSH keys?

OpenSSH says most signature algorithms in use today, including RSA and ECDSA, can be broken by a quantum computer. Our sources do not give a timeline or a recommended replacement.

The bigger lesson

A warning like this costs nothing and points straight at the servers nobody has updated in a while. The fix is the same as for most server risks: know what you run, keep it patched, and do not switch off the warnings that tell you when something has fallen behind.

If you want your servers and remote access reviewed and kept up to date, see our security hardening service or request a quote.

Get security alerts by email, along with the free checklist, at our security alerts page.

Sources: OpenSSH 10.1 release notes; OpenSSH: Post-Quantum Cryptography.

Share X LinkedIn Facebook

Was this article helpful?

We only keep the note with this article. No name, no email.

Protected by reCAPTCHA - Privacy and Terms.

Have a question about this article?

Ask it here and we will answer you directly by email. Questions are private, never posted.

Protected by reCAPTCHA - Privacy and Terms.

Security alerts by email

Hear about the next one first.

When attackers start using a flaw in software businesses run on, we email what it is, whether it touches you and what to do that week, with a round-up of our latest security writing. Free, one-click unsubscribe. You get the checklist straight away: 12 things to secure this week.

Protected by reCAPTCHA - Privacy and Terms.

Want a result like this?

Security alerts, breaches and the technology a business runs on: what happened, who it affects and what to do.

Get a Tech Quote

Security alerts by email

The next security hole is already out there. Hear about it from us first.

When attackers start using a flaw in software businesses run on, we email what it is, whether it touches you and what to do that week, with a round-up of our latest security writing. Free, one-click unsubscribe. You get the checklist straight away: 12 things to secure this week.

Protected by reCAPTCHA - Privacy and Terms.