Fix guides / OpenSSH (SSH servers)

OpenSSH (SSH servers)

About 30 minutes

OpenSSH 10 uses mlkem768x25519-sha256 by default. OpenSSH 9.0+ supports sntrup761x25519-sha512. Older servers offer classical key exchange only.

Steps
  1. Run ssh -V on the server. Upgrade to OpenSSH 10, or at least 9.x.
  2. If sshd_config sets KexAlgorithms, list the post-quantum algorithms first (snippet).
  3. Where possible, remove SSH from the public internet and reach it through a VPN or bastion.
  4. Restart sshd and re-scan.
/etc/ssh/sshd_config
KexAlgorithms mlkem768x25519-sha256,sntrup761x25519-sha512,curve25519-sha256
Verify it worked

Requires OpenSSL 3.5+. Expected output includes X25519MLKEM768.

openssl s_client -connect yourdomain.com:443 -servername yourdomain.com -groups X25519MLKEM768 -tls1_3 </dev/null 2>&1 | grep -i "group"

To re-run the full scan:

Implementation support We can take your engineers through the change on a call, or run the rollout across all affected endpoints.
Book a scoping call
Post-quantum fix: OpenSSH (SSH servers) · AreWeSecured