macOS ships /etc/ssh/crypto.conf putting classical ECDH ahead of post-quantum KEX. Override KexAlgorithms at the top of ~/.ssh/config and on Linux sshd.
# Add to the VERY TOP of ~/.ssh/config (OpenSSH 9.9+ / 10+):
# '^' prepends PQ hybrid KEX ahead of macOS defaults while keeping fallbacks.
Host *
KexAlgorithms ^mlkem768x25519-sha256,[email protected]
# On Linux servers (/etc/ssh/sshd_config.d/99-pqc.conf):
# KexAlgorithms mlkem768x25519-sha256,[email protected],curve25519-sha256
# Verify negotiated KEX:
ssh -v yourserver true 2>&1 | grep "kex: algorithm"
Verify:
ssh -G example.com | grep '^kexalgorithms '
Verify your deployment live
Scanner →
Run a fresh NIST FIPS 203 ML-KEM handshake check right after reloading your TLS configuration.