"connection is not using a post-quantum key exchange algorithm"
Newer OpenSSH clients print "connection is not using a post-quantum key exchange algorithm" when the server they connect to can't agree on a post-quantum key exchange. The session still works, but someone recording it today could decrypt it with a future quantum computer. (check: the exact wording and the first OpenSSH version that prints it.)
Why you see it
- The server runs OpenSSH older than 9.0 (no post-quantum key exchange), or
- the server's
KexAlgorithmslist leaves outmlkem768x25519-sha256andsntrup761x25519-sha512.
Fix it on the server
- Check the version:
ssh -Von the server. - Upgrade OpenSSH to 9.9 or later (10.0 or later makes
mlkem768x25519-sha256the default). - If
sshd_configsetsKexAlgorithms, put the post-quantum ones first:
KexAlgorithms mlkem768x25519-sha256,sntrup761x25519-sha512,curve25519-sha256
- Check and restart:
sshd -t && systemctl restart sshd.
Our scanner checks your HTTPS endpoints; the SSH check is planned. Scan your domain below for the web side.