NSA has advised Immediate Transition to Post-Quantum Cryptography to Protect National Security Systems. This will create upgrade cycles similar to Y2K. One of the quick items is to secure transport layer.

Many has tools to test for PQC readiness in domain SSL like https://www.wiz.io/pqc-tester

One of the other low hanging fruits with readily available solution is SSH with OpenSSH publishing support. (WireGurard, we are looking at you!)

To check whether your Linux SSH server (sshd) uses Post-Quantum Cryptography (PQC), inspect its Key Exchange (KEX) algorithms. In OpenSSH, PQC protection is provided by hybrid key-exchange algorithms:

  • mlkem768x25519-sha256 — NIST-standardized ML-KEM (introduced in OpenSSH 9.9, default in 10.0+).
  • sntrup761x25519-sha512 (or [email protected]) — Streamlined NTRU Prime hybrid (default since OpenSSH 9.0).

After SSHing to a server, you can connect the support by filtering out the KEX algorithms configured.

    sudo sshd -T | grep -i kexalgorithms

    On an Ubuntu 24.04 server this looks like the following:

    root@server:~# sudo sshd -T | grep -i kexalgorithms
    gssapikexalgorithms gss-group14-sha256-,gss-group16-sha512-,gss-nistp256-sha256-,gss-curve25519-sha256-,gss-group14-sha1-,gss-gex-sha1-
    kexalgorithms [email protected],curve25519-sha256,[email protected],ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,diffie-hellman-group14-sha256
    root@server:~#

    This configuration supports older algorithms as well.

    To check for the supported algorithms, an external scan with nmap can be done:

    nmap --script ssh2-enum-algos -p 22 domain-name