Following the December 2, 2026 NSA/CISA/ONCD advisory ("Immediate Actions to Push Toward Post-Quantum"), Linux VPS operators can eliminate harvest-now, decrypt-later (HNDL) exposure across SSH, HTTPS, and VPN tunnels in under 15 minutes. Upgrade to OpenSSH 9.9+/10.x to negotiate mlkem768x25519-sha256 (or [email protected] on OpenSSH 9.0+), enable X25519MLKEM768 in Nginx / OpenSSL 3.5+, and add a 256-bit PresharedKey to every WireGuard peer.
Why the urgency now: On December 2, 2026, NSA, CISA, and ONCD urged immediate acceleration toward CNSA 2.0 following frontier AI cryptanalysis disclosures, with January 1, 2027 as the mandatory acquisition cutoff for National Security Systems and December 31, 2030 for legacy phase-out.
Stop the OpenSSH post-quantum warning: OpenSSH 10+ warns on every login if your VPS still negotiates classical curve25519-sha256 instead of mlkem768x25519-sha256 or [email protected].
Hybrid PQ = zero compatibility risk: Hybrid key exchanges combine classical X25519 with NIST ML-KEM-768. Even if one primitive were broken, the other still protects the session.
Free audit commands: Generate copy-paste SSH, TLS, and WireGuard check commands for your hostname in our Post-Quantum Readiness Checker.
Step 1: Check if your VPS is already using quantum-safe SSH
From your workstation, run a verbose connection test to see the exact key exchange algorithm (kex: algorithm) your server negotiates:
ssh -vv -o BatchMode=yes -o ConnectTimeout=5 user@your-vps-ip true 2>&1 | grep -iE "kex: algorithm|post-quantum"
- Quantum-safe hybrid (good):
kex: algorithm: mlkem768x25519-sha256(NIST FIPS 203 standard, OpenSSH 9.9+/10.x) orkex: algorithm: [email protected](OpenSSH 9.0+). - Classical only (upgrade needed):
kex: algorithm: curve25519-sha256orecdh-sha2-nistp256. Modern OpenSSH clients will also print:WARNING: connection is not using a post-quantum key exchange algorithm.
Step 2: Enable post-quantum SSH on Ubuntu 24.04 / Debian 13
First check which post-quantum KEX algorithms your installed sshd binary supports:
ssh -Q kex | grep -E "mlkem|sntrup"
Create a drop-in configuration at /etc/ssh/sshd_config.d/99-post-quantum.conf that prioritizes hybrid post-quantum key exchange while keeping curve25519-sha256 as a fallback for older clients:
# /etc/ssh/sshd_config.d/99-post-quantum.conf
KexAlgorithms mlkem768x25519-sha256,[email protected],curve25519-sha256
PasswordAuthentication no
PubkeyAuthentication yes
(Note: If your sshd is older than OpenSSH 9.9 and does not list mlkem768x25519-sha256 in ssh -Q kex, omit it and start the line with [email protected],curve25519-sha256 so sshd -t passes cleanly.)
Validate before reloading so you never lock yourself out:
sudo sshd -t && sudo systemctl reload ssh
Step 3: Enable post-quantum TLS 1.3 (X25519MLKEM768) in Nginx
HTTPS traffic recorded today can be decrypted later unless TLS 1.3 negotiates a hybrid post-quantum key share. Check your OpenSSL version on the VPS:
openssl version
- OpenSSL 3.5+ (Debian 13 / Ubuntu 25.04+ / custom Nginx builds): Native
X25519MLKEM768support is built in. Configure Nginx:
ssl_protocols TLSv1.3;
ssl_ecdh_curve X25519MLKEM768:SecP256r1MLKEM768:X25519:prime256v1;
ssl_prefer_server_ciphers off;
- Older OpenSSL (3.0 on Ubuntu 24.04 LTS): Either terminate TLS 1.3 with Caddy (built on Go 1.24+, which enables
X25519MLKEM768automatically out of the box) or place a PQ-enabled reverse proxy in front of Nginx.
Verify your live TLS 1.3 group from a machine with OpenSSL 3.5+:
openssl s_client -connect yourdomain.com:443 -servername yourdomain.com -groups X25519MLKEM768:X25519 </dev/null 2>/dev/null | grep -iE "Protocol|Cipher|Temp Key"
Look for Server Temp Key: X25519MLKEM768.
Step 4: Harden WireGuard tunnels and backups
- WireGuard: Add a 256-bit
PresharedKeyto every peer or deploy Rosenpass. Full walkthrough in our WireGuard v2 & Post-Quantum WireGuard Guide. - Backups: Verify off-site backups use 256-bit symmetric encryption (
AES-256-GCMorChaCha20-Poly1305via Restic or Borg), which already provides ~128-bit post-quantum security. - Cryptographic inventory: Document every SSH key, TLS certificate, API signing key, and WireGuard peer so you are ready when NIST ML-DSA (FIPS 204) authentication certificates roll out across CAs and OpenSSH.
CNSA 2.0 migration milestones at a glance
| Milestone | DADate | RERequirement |
|---|---|---|
| Immediate acceleration | December 2, 2026 | Inventory all quantum-vulnerable public-key systems and prioritize hybrid PQ KEX |
| New acquisitions cutoff | January 1, 2027 | CNSA 2.0 algorithms (ML-KEM-1024, ML-DSA-87) required for new NSS acquisitions |
| NIAP certificate archival | Late 2027 | Partially quantum-resistant product certificates begin archival |
| Full legacy phase-out | December 31, 2030 | Legacy NSS systems incapable of CNSA 2.0 retired |
Underlined = best value in that row. Official NSA Commercial National Security Algorithm Suite 2.0 (CNSA 2.0) timeline reaffirmed by the December 2, 2026 NSA/CISA advisory.
Need a clean Ubuntu 24.04 or Debian 13 KVM server with full root access, dedicated IPv4, unmetered traffic, and no-KYC Monero (XMR) or card billing? Deploy a PrivateByte KVM VPS in London, Amsterdam, or Dallas from $5.99/mo.
:::cta {title="Score your VPS with our Post-Quantum Readiness Checker", href="https://privatebyte.com/post-quantum-checker"}
