Post-quantum SSH and IPsec VPN configuration
SSH and VPN tunnels carry exactly the long-lived traffic attackers harvest. Both have PQ key exchange you can turn on now.
OpenSSH
OpenSSH has shipped hybrid PQ key exchange for years: sntrup761x25519-sha512 since 9.0 (default), and mlkem768x25519-sha256 since 9.9 (default from 10.0). Check what your build supports:
ssh -Q kex | grep -E 'mlkem|sntrup'
Prefer PQ hybrids on servers (/etc/ssh/sshd_config) and clients (~/.ssh/config):
KexAlgorithms mlkem768x25519-sha256,sntrup761x25519-sha512@openssh.com,curve25519-sha256
Verify what was negotiated:
ssh -v user@host exit 2>&1 | grep 'kex: algorithm'
# debug1: kex: algorithm: mlkem768x25519-sha256
Host keys and user keys are still Ed25519/ECDSA/RSA. PQ authentication for SSH is not yet standardized — this protects session confidentiality (the HNDL risk), not identity.
Fleet rollout tips
- Inventory SSH server versions first; anything older than 9.0 has no PQ kex.
- Network gear, jump hosts and embedded SSH (Dropbear, vendor stacks) lag — list them in your CBOM.
- Monitor for sessions still negotiating
curve25519-sha256and track the share over time.
IPsec / IKEv2
ML-KEM is added to IKEv2 as an additional key exchange (RFC 9370 framework; draft-ietf-ipsecme-ikev2-mlkem). Commercial SASE and firewall vendors have shipped it (e.g., Cloudflare IPsec GA in April 2026). In strongSwan 6.x the proposal syntax looks like:
# swanctl.conf (strongSwan 6.x) — classical X25519 plus an ML-KEM-768 additional key exchange
proposals = aes256gcm16-prfsha384-x25519-ke1_mlkem768
esp_proposals = aes256gcm16-x25519-ke1_mlkem768
Confirm exact syntax against your version's documentation and test interop with each peer vendor.
Watch for
- Fragmentation. Larger IKE messages need IKEv2 fragmentation (RFC 7383) enabled on both ends.
- Peer support. Partners and branch devices set the pace; track each tunnel's status.
- Authentication. PQ authentication for IPsec is still being standardized; certificates remain classical for now.