OpenSSH 10.1 will warn when connections lack post-quantum key exchange
Latest in the story ·
OpenSSH supports key agreement[1] algorithms that are considered safe against attacks from quantum computers, and it recommends that all SSH connections use them. Post-quantum key agreement has been offered by default since release 9.0 (April 2022), first through the sntrup761x25519-sha512 algorithm. OpenSSH 9.9 added mlkem768x25519-sha256, which became the new default in OpenSSH 10.0 (April 2025).
OpenSSH 10.1 will warn users when a connection does not use a post-quantum key exchange algorithm, because such a session may be vulnerable to "store now, decrypt later"[2] attacks. The warning is shown by default and can be disabled with the WarnWeakCrypto option in ssh_config(5).
The page explains that an attacker can record encrypted sessions now and decrypt them once a quantum computer is available. Hybrid algorithms combine a post-quantum algorithm with a classical one[3], so they are no weaker than the best classical algorithm even if the post-quantum part is broken. Estimates put the arrival of a cryptographically relevant quantum computer 5 to 20 years away, with many observers expecting it in the mid-2030s.

