Hardening Client SSH, Servers and Git Repositories for Post-Quantum Security
Step-by-step hands-on commands, private-key rotation workflows and copyable configs for OpenSSH 9.9–10.6, macOS, Windows OpenSSH, Ubuntu 24.04/26.04 LTS, GitHub/GitLab, Campus Moodle SSO, Nginx/Caddy and age backups — plus an interactive configurator.
NSA Advisory PP-26-4956 (Immediate Actions to Push Toward Post-Quantum) — co-announced alongside a rare joint statement from eight major tech companies (Amazon, Anthropic, Apple, Cloudflare, Google, Microsoft, OpenAI and Oracle) and Cloudflare CEO Matthew Prince’s warning to shift to “post-quantum (maybe more appropriately called post-AI) standards” — raises one immediate engineering question: what exact commands and configuration files do we change today on developer laptops, servers, Git repositories and campus SSO without locking ourselves out?
This guide gives you the exact audit commands, private-key rotation sequence, OS-specific fixes for macOS, Windows OpenSSH and Ubuntu Server (22.04 / 24.04 / 26.04 LTS), Git & CI/CD workflows, Campus Moodle / SSO rollover steps, and an interactive configurator that builds a tailored runbook for your environment.
Always keep a second root or console session open in another terminal window, validate server configuration with sudo sshd -t before reloading, and test a fresh login in a third terminal before closing your safety session.
1. Interactive Post-Quantum / Post-AI Hardening Configurator
Choose your workstation OS, private-key rotation posture and server stack below to generate a copyable runbook covering private-key commands, SSH/Ubuntu/Windows/Git/Moodle/TLS configs, read-only audits and upgrade traps.
NSA PP-26-4956 and Cloudflare’s December 2026 acceleration show you should assume classical RSA and 256-bit ECC keys are on borrowed time. Stop HNDL interception with hybrid PQ key exchange immediately, then retire RSA < 3072, P-256-only and long-lived static private keys.
brew install openssh && which -a ssh && ssh -VSSH workstations & OpenSSH 10.6+ hosts
ssh-keygen -t mldsa44-ed25519 -a 100 -C "user@org-2026-pqc" -f ~/.ssh/id_mldsa44_ed25519
Do not reuse experimental 10.4/10.5 @openssh.com keys; regenerate cleanly under OpenSSH 10.6+.
Interim compatibility & code forges (GitHub / GitLab)
ssh-keygen -t ecdsa -b 384 -a 100 -C "forge-p384-2026" -f ~/.ssh/id_ecdsa_p384
PP-26-4956 flags curves other than P-384/P-521 and accepts RSA-3072+ as an interim bridge until forges accept ML-DSA user keys.
Git commits, tags & CI deploy credentials
git config --global gpg.format ssh && git config --global commit.gpgsign true
Delete static deploy keys and long-lived PATs; mint short-lived cloud/registry tokens via GitHub Actions or GitLab CI OIDC.
Campus Moodle & SAML 2.0 / OIDC / LTI 1.3 IdP
openssl genrsa -out sp-signing-next.key 4096 && openssl req -new -x509 -sha384 -days 730 -key sp-signing-next.key -out sp-signing-next.crt
Publish BOTH old and new public certificates in SAML SP/IdP metadata and JWKS endpoints before switching the active signing private key.
# Post-Quantum / Post-AI Hardening Action Pack - **Client OS:** macOS workstation - **Key posture:** Post-AI / Hybrid PQ First (Recommended) - **Selected targets:** Ubuntu 24.04 / 22.04 LTS servers, Git repos & CI/CD (GitHub / GitLab / self-hosted), Campus Moodle & SSO (SAML 2.0 / OIDC / LTI 1.3), Web servers & reverse proxies (Nginx / Caddy / Cloudflare) ## 1. Immediate Audit Commands ### Check client OpenSSH version & PQ KEX support ```bash brew install openssh && which -a ssh && ssh -V ``` ### Inspect negotiated KEX and RSA host key size live ```bash ssh -vv -o BatchMode=yes -o ConnectTimeout=5 [email protected] 2>&1 | grep -iE "kex: algorithm|host key|WARNING:.*post-quantum" ``` ### Scan local public keys for weak RSA (<3072) or DSA ```bash for f in ~/.ssh/*.pub; do [ -f "$f" ] && ssh-keygen -lf "$f"; done ``` ### Verify origin TLS 1.3 X25519MLKEM768 negotiation ```bash openssl s_client -groups X25519MLKEM768 -tls1_3 -connect your-domain.example:443 </dev/null 2>/dev/null | grep -E "Protocol|Negotiated TLS1.3 group|Server public key" ``` ## 2. Urgent Private-Key Rotation Steps - **SSH workstations & OpenSSH 10.6+ hosts:** RSA-2048 / ssh-rsa / standalone Ed25519 -> ssh-mldsa44-ed25519 hybrid key + 100 KDF rounds - Command: `ssh-keygen -t mldsa44-ed25519 -a 100 -C "user@org-2026-pqc" -f ~/.ssh/id_mldsa44_ed25519` - Note: Do not reuse experimental 10.4/10.5 @openssh.com keys; regenerate cleanly under OpenSSH 10.6+. - **Interim compatibility & code forges (GitHub / GitLab):** Legacy RSA-2048 or unrotated 256-bit keys -> Hardware FIDO2 (-sk) or ECDSA P-384 / RSA-4096 interim key - Command: `ssh-keygen -t ecdsa -b 384 -a 100 -C "forge-p384-2026" -f ~/.ssh/id_ecdsa_p384` - Note: PP-26-4956 flags curves other than P-384/P-521 and accepts RSA-3072+ as an interim bridge until forges accept ML-DSA user keys. - **Git commits, tags & CI deploy credentials:** Unsigned commits, RSA-2048 GPG, static deploy keys -> SSH commit signing (allowedSignersFile) + OIDC workload identity - Command: `git config --global gpg.format ssh && git config --global commit.gpgsign true` - Note: Delete static deploy keys and long-lived PATs; mint short-lived cloud/registry tokens via GitHub Actions or GitLab CI OIDC. - **Campus Moodle & SAML 2.0 / OIDC / LTI 1.3 IdP:** Single long-lived RSA-2048 SAML / JWKS signing key -> Dual-key metadata rollover to RSA-3072 / RSA-4096 + AES-256-GCM XML-Enc - Command: `openssl genrsa -out sp-signing-next.key 4096 && openssl req -new -x509 -sha384 -days 730 -key sp-signing-next.key -out sp-signing-next.crt` - Note: Publish BOTH old and new public certificates in SAML SP/IdP metadata and JWKS endpoints before switching the active signing private key. ## 3. Reference Configurations ### Client SSH policy (`~/.ssh/config`) ```text # Ensure Homebrew OpenSSH (10.6+) precedes /usr/bin/ssh in PATH # Place this policy in ~/.ssh/config (chmod 600 ~/.ssh/config) Host * # Hybrid post-quantum / post-AI key exchange first KexAlgorithms mlkem768x25519-sha256,[email protected],ecdh-sha2-nistp384 # Reject undersized RSA-1024 / RSA-2048 host and user keys RequiredRSASize 3072 # Surface non-PQ fallback warnings instead of hiding Store Now, Decrypt Later risk WarnWeakCrypto yes HostKeyAlgorithms ssh-mldsa44-ed25519,ecdsa-sha2-nistp384,rsa-sha2-512,rsa-sha2-256 PubkeyAcceptedAlgorithms ssh-mldsa44-ed25519,[email protected],ecdsa-sha2-nistp384,rsa-sha2-512,rsa-sha2-256 Ciphers [email protected],[email protected] MACs [email protected],[email protected] IdentitiesOnly yes # Prefer hybrid PQ authentication key where server runs OpenSSH 10.6+ IdentityFile ~/.ssh/id_mldsa44_ed25519 # Interim fallback for forges (GitHub/GitLab) or hosts < OpenSSH 10.6 IdentityFile ~/.ssh/id_ecdsa_p384 IdentityFile ~/.ssh/id_rsa_4096 # Ticketed legacy exception example — never apply globally # Host legacy-appliance.internal # WarnWeakCrypto no-pq-kex ``` ### Ubuntu Server sshd drop-in (`/etc/ssh/sshd_config.d/99-pqc-hardening.conf`) ```text # /etc/ssh/sshd_config.d/99-pqc-hardening.conf # Mixed Ubuntu 24.04 (OpenSSH 9.6) + 26.04 (OpenSSH 10.2+): 24.04 negotiates sntrup761x25519; upgrade 22.04 (no PQ KEX) urgently. KexAlgorithms mlkem768x25519-sha256,[email protected],ecdh-sha2-nistp384 HostKey /etc/ssh/ssh_host_mldsa44_ed25519_key HostKey /etc/ssh/ssh_host_ecdsa_key HostKeyAlgorithms ssh-mldsa44-ed25519,ecdsa-sha2-nistp384,rsa-sha2-512,rsa-sha2-256 PubkeyAcceptedAlgorithms ssh-mldsa44-ed25519,[email protected],ecdsa-sha2-nistp384,rsa-sha2-512,rsa-sha2-256 RequiredRSASize 3072 PasswordAuthentication no KbdInteractiveAuthentication no PermitRootLogin prohibit-password Ciphers [email protected],[email protected] MACs [email protected],[email protected] # Validate before reload: sudo sshd -t && sudo systemctl reload ssh ``` ### Git signing & CI OIDC policy (`~/.gitconfig & .github/workflows/deploy.yml`) ```text # Enforce SSH commit/tag signatures verified against repo allowed_signers git config --global gpg.format ssh git config --global user.signingkey ~/.ssh/id_ecdsa_p384.pub git config --global gpg.ssh.allowedSignersFile ~/.config/git/allowed_signers git config --global commit.gpgsign true git config --global tag.gpgSign true # GitHub Actions OIDC (eliminates static RSA deploy keys / cloud access keys): # permissions: # id-token: write # contents: read ``` ### Campus Moodle / Shibboleth SAML & OIDC checklist (`/etc/shibboleth/shibboleth2.xml (or auth_saml2)`) ```text <!-- 1. Zero-downtime dual CredentialResolver during rotation off RSA-2048 --> <CredentialResolver type="Chaining"> <CredentialResolver type="File" use="signing" key="/etc/shibboleth/sp-signing-next.key" certificate="/etc/shibboleth/sp-signing-next.crt"/> <CredentialResolver type="File" use="signing" key="/etc/shibboleth/sp-signing-old.key" certificate="/etc/shibboleth/sp-signing-old.crt"/> </CredentialResolver> <!-- 2. Enforce SHA-256/384 signatures and AES-256-GCM assertion encryption in IdP/SP policy --> <!-- Never allow XML-Sig SHA-1 or RSA-PKCS1-v1.5 key transport --> <!-- 3. Put Moodle origin behind PQ TLS 1.3 (OpenSSL 3.5+ / Caddy) and encrypt moodledata backups with age -pq --> ``` ### Nginx (OpenSSL 3.5+) & Caddy 2.10+ PQ TLS 1.3 (`/etc/nginx/conf.d/pqc-tls.conf | Caddyfile`) ```text # Nginx linked against OpenSSL 3.5+ (e.g. Ubuntu 26.04 LTS) log_format pqc '$remote_addr $ssl_protocol $ssl_curve "$ssl_curves"'; server { listen 443 ssl; ssl_protocols TLSv1.3; ssl_ecdh_curve X25519MLKEM768:SecP384r1MLKEM1024:X25519; access_log /var/log/nginx/pqc.log pqc; } # Or Caddy 2.10+ (drop-in PQ reverse proxy in front of Ubuntu 24.04 / Moodle origins): # tls { # protocols tls1.3 # curves x25519mlkem768 secp384r1mlkem1024 # } ``` ## 4. Operational Guardrails & Pitfalls - Do not suppress client PQ warnings globally with WarnWeakCrypto no — scope no-pq-kex strictly to ticketed legacy hosts. - Keep a second active root/console session open and run sshd -t before reloading SSH on remote servers. - OpenSSH 10.4/10.5 experimental [email protected] keys fail to load on OpenSSH 10.6 — delete and regenerate as ssh-mldsa44-ed25519. - Ubuntu 24.04 ships OpenSSL 3.0 and OpenSSH 9.6 (sntrup761x25519 only, no ML-KEM); place Caddy 2.10+ or an Ubuntu 26.04 PQ proxy in front until upgraded. - Never overwrite a single SAML signing certificate in place during term time — use dual-certificate metadata overlap so IdP caches drain without outage. - ML-KEM-768 hybrid ClientHello (~1.2–1.6 KB) spans multiple TCP packets and can stall broken campus/corporate DPI firewalls — canary-test before full rollout. --- Generated via Gigantic Work (https://gigantic.work/tutorials/hardening-ssh-servers-and-git-for-post-quantum/) · For SSH, server, Git or campus SSO security reviews, contact [email protected]
2. Step 1 — Audit what you actually run (read-only)
Do not assume your workstation or server already negotiates post-quantum key exchange. Run these read-only checks first:
# 1. Check OpenSSH version and supported PQ key-exchange algorithms
ssh -V
ssh -Q kex | grep -E "mlkem|sntrup"
ssh -Q key | grep -E "mldsa|sk-ecdsa|ecdsa"
# 2. See what your client ACTUALLY negotiates with GitHub or a server
ssh -vv -o BatchMode=yes -o ConnectTimeout=5 [email protected] 2>&1 \
| grep -iE "kex: algorithm|host key|WARNING:.*post-quantum"
# 3. Inspect every local public key for RSA < 3072 bits or legacy DSA
for f in ~/.ssh/*.pub; do [ -f "$f" ] && ssh-keygen -lf "$f"; done
# 4. Test whether your web server / Moodle origin negotiates TLS 1.3 X25519MLKEM768
openssl s_client -groups X25519MLKEM768 -tls1_3 -connect your-domain.example:443 </dev/null 2>/dev/null \
| grep -E "Protocol|Negotiated TLS1.3 group|Server public key"
If step 2 prints ** WARNING: connection is not using a post-quantum key exchange algorithm (introduced in OpenSSH 10.1) — or if ssh -Q kex returns nothing at all — you have identified your first upgrade targets.
3. Step 2 — Rotate private keys urgently (and drop weak RSA / 256-bit-only habits)
Because public keys are exposed across GitHub/GitLab profiles, known_hosts, commit signatures and SAML metadata, rotating long-lived private keys off legacy algorithms is just as urgent as fixing key exchange:
- Retire immediately:
ssh-rsa(SHA-1 signatures), DSA (ssh-dss), RSA-1024 and RSA-2048 SSH/SAML/GPG keys, and unrotated static RSA deploy keys. - Avoid the 256-bit ECC trap: NSA PP-26-4956 flags EdDSA (
Ed25519) and elliptic curves other thanP-384orP-521, while accepting RSA-3072+ and P-384 as classical interim baselines where pure PQC signatures are unavailable.
Generate clean replacement keys according to where they will be used:
# A. OpenSSH 10.6+ servers & workstations (hybrid PQ + classical Ed25519)
ssh-keygen -t mldsa44-ed25519 -a 100 -C "alice@org-2026-pqc" -f ~/.ssh/id_mldsa44_ed25519
# B. Hardware security key (FIDO2/WebAuthn resident or non-resident key)
ssh-keygen -t ecdsa-sk -O resident -a 100 -C "alice-yubikey-2026" -f ~/.ssh/id_ecdsa_sk
# C. Interim key for GitHub / GitLab / older bastions (CNSA interim baseline)
ssh-keygen -t ecdsa -b 384 -a 100 -C "alice-git-p384-2026" -f ~/.ssh/id_ecdsa_p384
# Or if an external system requires RSA:
ssh-keygen -t rsa -b 4096 -a 100 -C "alice-legacy-rsa4096-2026" -f ~/.ssh/id_rsa_4096
# D. Long-retention encrypted backups & secrets (hybrid ML-KEM-768 + X25519)
age-keygen -pq -o ~/.config/age/pqc-identity.txt
OpenSSH 10.4 introduced experimental [email protected] keys; OpenSSH 10.6 enabled the final standard name ssh-mldsa44-ed25519 and dropped the vendor suffix. Any host or user key generated with the experimental @openssh.com suffix will cause sshd 10.6+ to fail on startup until removed from disk, sshd_config and known_hosts and regenerated cleanly.
4. Step 3 — Harden client workstations (macOS, Linux & Windows OpenSSH)
macOS & Linux workstations
On macOS, /usr/bin/ssh often lags behind Homebrew. Install openssh via Homebrew, confirm which -a ssh puts /opt/homebrew/bin/ssh (Apple Silicon) or /usr/local/bin/ssh first in PATH, and place this policy in ~/.ssh/config (chmod 600 ~/.ssh/config):
Host *
KexAlgorithms mlkem768x25519-sha256,[email protected],ecdh-sha2-nistp384
RequiredRSASize 3072
WarnWeakCrypto yes
HostKeyAlgorithms ssh-mldsa44-ed25519,ecdsa-sha2-nistp384,rsa-sha2-512,rsa-sha2-256
PubkeyAcceptedAlgorithms ssh-mldsa44-ed25519,[email protected],ecdsa-sha2-nistp384,rsa-sha2-512,rsa-sha2-256
Ciphers [email protected],[email protected]
MACs hmac-sha2-512[email protected],hmac-sha2-256[email protected]
IdentitiesOnly yes
IdentityFile ~/.ssh/id_mldsa44_ed25519
IdentityFile ~/.ssh/id_ecdsa_p384
IdentityFile ~/.ssh/id_rsa_4096
# Ticketed legacy host exception — never silence warnings globally
Host legacy-switch.internal
WarnWeakCrypto no-pq-kex
Do not set WarnWeakCrypto no globally: silencing the warning hides active Store Now, Decrypt Later exposure across the rest of your fleet.
Windows OpenSSH (Win32-OpenSSH) and Git-for-Windows
Windows bundles an inbox OpenSSH build under C:\Windows\System32\OpenSSH\ that lags upstream OpenSSH releases and frequently lacks mlkem768x25519-sha256. Worse, Git-for-Windows ships its own MSYS2 ssh unless overridden.
Fix Windows clients in three steps:
# 1. Inspect which ssh binary Windows and Git are actually invoking
where.exe ssh
ssh -V
ssh -Q kex
# 2. Install current PowerShell/Win32-OpenSSH (or run OpenSSH 10.x inside WSL2 Ubuntu 26.04)
winget install Microsoft.OpenSSH.Beta
# 3. Force Git-for-Windows to use the upgraded OpenSSH binary (adjust path if using WSL2 wrapper)
git config --global core.sshCommand "C:/Program Files/OpenSSH/ssh.exe"
Place the same Host * policy in %USERPROFILE%\.ssh\config. On Windows OpenSSH servers, edit C:\ProgramData\ssh\sshd_config, set RequiredRSASize 3072, add PQ KexAlgorithms, and watch out for the classic Windows pitfall: members of the Administrators group authenticate against C:\ProgramData\ssh\administrators_authorized_keys (not %USERPROFILE%\.ssh\authorized_keys), which fails silently if NTFS inheritance is not restricted to SYSTEM and Administrators:
icacls.exe "C:\ProgramData\ssh\administrators_authorized_keys" /inheritance:r /grant "Administrators:F" /grant "SYSTEM:F"
Restart-Service sshd
5. Step 4 — Harden Ubuntu Server (22.04, 24.04 and 26.04 LTS)
Pick your path by Ubuntu release:
| Ubuntu release | Stock OpenSSH & OpenSSL | Practical hardening move |
|---|---|---|
| Ubuntu 22.04 LTS | OpenSSH 8.9 (no PQ KEX) · OpenSSL 3.0 | Upgrade or replace urgently, or isolate behind an Ubuntu 26.04 bastion + PQ reverse proxy |
| Ubuntu 24.04 LTS | OpenSSH 9.6 (sntrup761x25519 only) · OpenSSL 3.0 |
Enforce [email protected] in sshd; put Caddy 2.10+ or an Ubuntu 26.04 proxy in front for X25519MLKEM768 TLS 1.3; schedule 26.04 upgrade |
| Ubuntu 26.04 LTS | OpenSSH 10.2+ (mlkem768x25519-sha256) · OpenSSL 3.5 |
Native PQ KEX in SSH and native X25519MLKEM768 / SecP384r1MLKEM1024 in Nginx/Apache |
Drop a dedicated policy file at /etc/ssh/sshd_config.d/99-pqc-hardening.conf (include [email protected] on 24.04; use mlkem768x25519-sha256 first on 26.04+):
# /etc/ssh/sshd_config.d/99-pqc-hardening.conf
KexAlgorithms mlkem768x25519-sha256,[email protected]
# If supporting OpenSSH 10.6+ host keys:
HostKey /etc/ssh/ssh_host_mldsa44_ed25519_key
HostKey /etc/ssh/ssh_host_ecdsa_key
HostKeyAlgorithms ssh-mldsa44-ed25519,ecdsa-sha2-nistp384,rsa-sha2-512,rsa-sha2-256
PubkeyAcceptedAlgorithms ssh-mldsa44-ed25519,[email protected],ecdsa-sha2-nistp384,rsa-sha2-512,rsa-sha2-256
RequiredRSASize 3072
PasswordAuthentication no
KbdInteractiveAuthentication no
PermitRootLogin prohibit-password
Ciphers [email protected],[email protected]
MACs hmac-sha2-512[email protected],hmac-sha2-256[email protected]
Validate and apply without dropping active sessions:
# On OpenSSH 10.6+, generate missing host keys (including ssh_host_mldsa44_ed25519_key):
sudo ssh-keygen -A
# Remove weak legacy DSA / small RSA host keys if present
sudo rm -f /etc/ssh/ssh_host_dsa_key*
# Syntax check BEFORE reloading
sudo sshd -t && sudo systemctl reload ssh
6. Step 5 — Secure Git repositories and CI/CD pipelines
- Verify post-quantum Git-over-SSH transport: GitHub already serves
sntrup761x25519-sha512on[email protected], while GitLab requiresgitlab-sshd>= 18.2.4 or host OpenSSH 9.9+. For self-hosted Git (Gitea, Forgejo, GitLab) running on older hosts, either upgrade host OpenSSH or route developers over HTTPS with TLS 1.3X25519MLKEM768via Caddy 2.10+ / Nginx + OpenSSL 3.5+. - Eliminate static RSA deploy keys and long-lived PATs: Replace SSH deploy keys and static cloud IAM credentials in CI with OIDC workload identity federation (GitHub Actions
id-token: writeor GitLab CIid_tokensauthenticating directly to AWS, Azure, GCP or Cloudflare) and short-lived GitHub App installation tokens. - Sign commits and tags with SSH (and verify via
allowed_signers):
git config --global gpg.format ssh
git config --global user.signingkey ~/.ssh/id_ecdsa_p384.pub
git config --global gpg.ssh.allowedSignersFile ~/.config/git/allowed_signers
git config --global commit.gpgsign true
git config --global tag.gpgSign true
Commit your team’s ~/.config/git/allowed_signers mapping (email ssh-ecdsa-sha2-nistp384 ...) inside institutional repos and enable signed-commit branch protection on main. When a member rotates a key, add the new key line alongside the old one rather than overwriting history, so past signatures still verify locally.
7. Step 6 — Campus Moodle, SSO, web TLS, VPNs and backups
Campus Moodle & SAML 2.0 / OIDC / LTI 1.3
University Moodle platforms typically hide long-lived RSA-2048 private keys inside auth_saml2, SimpleSAMLphp, Shibboleth SP (/etc/shibboleth/sp-signing-key.pem, sp-encrypt-key.pem) and LTI 1.3 / OIDC tool registrations. To rotate without breaking term-time logins:
- Generate a new RSA-4096 (or P-384) signing keypair (
openssl genrsa -out sp-signing-next.key 4096). - Add the new public certificate alongside the existing one in a chaining
CredentialResolver(or IdP metadata / JWKSkidarray) first, wait for IdP metadata caches to refresh (usually 24–72 hours), and only then switch the active signing key and retire the old RSA-2048 key. - Enforce SHA-256 or SHA-384 XML signatures and AES-256-GCM XML encryption (disable legacy SHA-1 and
RSA-PKCS1-v1.5). - Terminate Moodle HTTPS on TLS 1.3 with
X25519MLKEM768(Cloudflare Edge + Origin, Caddy 2.10+ or Ubuntu 26.04 Nginx) and encrypt nightlymoodledata+ PostgreSQL/MySQL backups withage -pq.
Nginx (OpenSSL 3.5+), Caddy 2.10+, WireGuard and age backups
- Nginx (Ubuntu 26.04 / OpenSSL 3.5+): set
ssl_protocols TLSv1.3;andssl_ecdh_curve X25519MLKEM768:SecP384r1MLKEM1024:X25519;inside your server block, and log$ssl_curveto track client coverage. - Caddy 2.10+: add
curves x25519mlkem768 secp384r1mlkem1024insidetls { protocols tls1.3 ... }— ideal as a lightweight PQ front proxy for Ubuntu 24.04 origins. - WireGuard VPNs: pair standard WireGuard peers with a 256-bit
PresharedKeyrotated regularly, or automate PQ PSK rotation with Rosenpass without touching kernel WireGuard interfaces. - Archival backups: switch nightly database and document-store snapshots to
agehybridmlkem768x25519(age-keygen -pq) and hold the decryption identity offline.
8. Zero-lockout verification checklist
-
ssh -Vandssh -Q kexconfirmmlkem768x25519-sha256(or at minimumsntrup761x25519-sha512) on every engineer’s macOS, Linux and Windows OpenSSH client - All user and server SSH keys < 3072-bit RSA,
ssh-rsa(SHA-1), DSA and stale@openssh.comexperimental keys removed and rotated - Git-for-Windows points to upgraded OpenSSH (
core.sshCommand); static deploy keys replaced with OIDC; SSH commit signing active - Ubuntu servers validated with
sshd -t; Ubuntu 22.04 scheduled for upgrade or isolated behind a PQ bastion/proxy - Campus Moodle SAML 2.0 / OIDC / LTI 1.3 signing keys rotated via dual-key metadata overlap; AES-256-GCM and PQ TLS 1.3 verified end-to-end
- Offsite database and file backups encrypted with
agemlkem768x25519and a restore tested
For the architectural deep dives behind these configurations, read our Engineering Notes on Post-Quantum SSH and Git Infrastructure and Crypto-Agility for Client Servers. Need hands-on help hardening your servers, Git repositories or campus SSO? Book a security review.
Hardening your servers, SSH, Git or SSO?
We run cryptographic inventories (CBOM), rotate SSH, Git, TLS and campus Moodle/SSO keys for post-quantum and post-AI resilience, harden Ubuntu and Windows servers, and provide ongoing care plans with full handover.