Quick answer

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.

Key takeaways
01

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.

02

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].

03

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.

04

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"

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
ssl_protocols TLSv1.3;
ssl_ecdh_curve X25519MLKEM768:SecP256r1MLKEM768:X25519:prime256v1;
ssl_prefer_server_ciphers off;

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

  1. WireGuard: Add a 256-bit PresharedKey to every peer or deploy Rosenpass. Full walkthrough in our WireGuard v2 & Post-Quantum WireGuard Guide.
  2. Backups: Verify off-site backups use 256-bit symmetric encryption (AES-256-GCM or ChaCha20-Poly1305 via Restic or Borg), which already provides ~128-bit post-quantum security.
  3. 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

MilestoneDateRequirement
Immediate accelerationDecember 2, 2026Inventory all quantum-vulnerable public-key systems and prioritize hybrid PQ KEX
New acquisitions cutoffJanuary 1, 2027CNSA 2.0 algorithms (ML-KEM-1024, ML-DSA-87) required for new NSS acquisitions
NIAP certificate archivalLate 2027Partially quantum-resistant product certificates begin archival
Full legacy phase-outDecember 31, 2030Legacy 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"}