Guide

Is Mobile SSH Post-Quantum Safe? How to Check Your App

Mobile SSH can resist future quantum decryption when the phone app and server negotiate a hybrid post-quantum key exchange. Verify the actual connection: an updated server, Ed25519 key, or built-in VPN alone does not establish that protection, and post-quantum authentication remains a separate compatibility check.

CC Chen Chen· Founder·2026-09-14·9 min read

Mobile SSH can resist future quantum decryption when the phone app and server negotiate a hybrid post-quantum key exchange. Verify the actual connection: an updated server, Ed25519 key, or built-in VPN alone does not establish that protection, and post-quantum authentication remains a separate compatibility check.

For TermAI users, the practical question is what the installed iOS or Android app negotiates with your production server. TermAI provides SSH/SFTP, built-in Tailscale, and an AI assistant that suggests commands for you to confirm. Those capabilities help with mobile operations; they do not establish a particular cryptographic algorithm.

What can a quantum computer decrypt from an SSH session?

The immediate planning concern is harvest now, decrypt later: someone records encrypted traffic today, then attempts to recover its contents using a future cryptographically capable quantum computer. Classical key agreement can expose recorded sessions to that threat. Hybrid post-quantum key agreement is designed to resist it. This is the reason OpenSSH recommends post-quantum key exchange.

Think about what you access during an incident: application logs, customer records, configuration files, or credentials typed into a remote shell. Some information may remain sensitive long after the connection closes. There is no need to invent a date for a quantum breakthrough to decide that these sessions deserve protection.

Keep three properties separate:

SSH componentWhat it doesWhat to verify
Key exchange, or KEXEstablishes shared session secretsA negotiated post-quantum hybrid
Host and user authenticationEstablishes server identity and login identityTrusted host keys and compatible signature algorithms
Bulk encryptionEncrypts traffic after key exchangeThe negotiated cipher, separately from KEX

These are distinct parts of the SSH transport protocol. Seeing AES in a connection screen does not tell you how its session key was established. Likewise, switching an authentication key from RSA to Ed25519 does not upgrade the key exchange.

Which SSH algorithms provide post-quantum protection?

For OpenSSH interoperability, look for these established hybrid options:

Negotiated nameComponentsOpenSSH milestone
sntrup761x25519-sha512 or its @openssh.com variantStreamlined NTRU Prime plus X25519Hybrid key agreement became the default in 9.0
mlkem768x25519-sha256ML-KEM-768 plus X25519Added in 9.9; preferred default in 10.0

Hybrid designs retain classical protection alongside the post-quantum component. OpenSSH also introduced a warning for non-post-quantum key exchange in 10.1. These milestones describe upstream behavior, not proof about a particular mobile app or server configuration. See OpenSSH’s post-quantum guidance.

ML-KEM and ML-DSA solve different problems. NIST’s FIPS 203 standardizes ML-KEM for establishing shared secrets; FIPS 204 standardizes ML-DSA digital signatures. ML-DSA support in an app does not mean its server accepts the same SSH key format. OpenSSH’s specification index lists an ML-DSA/Ed25519 composite signature format starting with 10.4; do not assume it is interchangeable with another client’s standalone ML-DSA keys.

A session with hybrid KEX and classical authentication can resist passive future decryption without having completed a post-quantum authentication migration. Describe that narrower protection accurately instead of calling the entire setup “quantum-proof.”

Which iPhone and Android SSH apps support post-quantum encryption?

Published support is a useful starting point. The installed build, enabled preferences, and remote server decide the result.

ClientEvidence availableWhat you still need to check
TermiusIts security documentation lists hybrid mlkem768x25519-sha256, standalone ML-KEM, and ML-DSA host/user keysExact build and negotiated algorithms; the documentation also describes classical fallback
Blink ShellIts 18.7 announcement documents post-quantum KEX through a libssh updateThe algorithm selected by your installed iOS build against your server
TermuxIts OpenSSH package recipe packages OpenSSH for AndroidInstalled package version, supported algorithms, and actual negotiation
TermAISSH/SFTP on iOS and Android, built-in Tailscale, and command suggestions requiring confirmationA verified algorithm list and handshake evidence for each platform

Termius’s post-quantum overview covers both session confidentiality and authentication. For a mobile production decision, add the operational test below: can the exact client in your pocket connect under your server’s intended policy?

Do not classify an untested app as incapable merely because its marketing omits post-quantum terminology. Equally, do not treat a library upgrade as proof that the desired algorithm wins negotiation.

How do I check the key exchange my phone actually uses?

If the phone runs an OpenSSH client

In Termux, or another environment actually running OpenSSH locally, replace the example destination and run:

ssh -V
ssh -Q kex
ssh -vv [email protected]

The first command reports the local client version. The second lists its supported KEX algorithms. The third makes a connection with diagnostic output. Look for the selected kex: algorithm: line, not just a list of proposals. These options are documented in the OpenSSH client manual.

Illustrative output, not a measured TermAI result:

debug1: kex: algorithm: mlkem768x25519-sha256

Running these commands inside a TermAI session on your VPS tests the VPS’s SSH client. It does not inspect the phone-to-VPS handshake. A laptop connecting successfully with ML-KEM proves nothing about the phone either.

If the app does not expose handshake diagnostics

Use server-side diagnostics for a connection made by the actual phone app. Start with a controlled test host configured like production. On a Linux OpenSSH test host, an administrator can run a foreground diagnostic listener:

# On the controlled test server; 2222 is an example unused port.
sudo /usr/sbin/sshd -ddd -p 2222

Before starting, review the inherited configuration, especially explicit ListenAddress ports: -p does not override ports embedded in those directives. Restrict reachability to your test device or private management network. Avoid opening a public diagnostic service just to perform this check.

Connect from TermAI to that host and test port. Verify the host fingerprint against a trusted source; a different port may produce a new trust prompt. Read the server’s selected kex: algorithm: line and compare it with the hybrid names above. Record the app version, platform, server build, and result.

Debug mode remains in the foreground and handles one connection. Stop it after testing and remove temporary access rules. Treat diagnostic output as sensitive. The listener behavior is documented in sshd(8).

This confirms the test endpoint. To establish production behavior, obtain equivalent diagnostics for the production connection through your normal change process. Repeat after relevant app upgrades or server policy changes.

Does TermAI’s built-in Tailscale make SSH post-quantum safe?

No automatic conclusion follows from the VPN layer. Tailscale’s current post-quantum documentation says its WireGuard implementation is not post-quantum secure and does not use WireGuard’s optional pre-shared keys. WireGuard’s ability to accept a PSK is not evidence that a particular Tailscale connection uses one.

TermAI’s built-in Tailscale helps you reach servers through a private network. With appropriate server firewall and tailnet access rules, you can restrict SSH to that network instead of maintaining an allowlist for a changing cellular address. See SSH IP allowlists from a phone.

That is a useful access design, but it does not change the SSH algorithm negotiated inside the tunnel. Simply enabling Tailscale also does not close an existing public SSH listener; firewall policy still matters.

How do I enable post-quantum SSH without locking out my phone?

Treat this as a compatibility change with a recovery path. A server restricted to hybrid KEX will reject clients that have no matching algorithm.

  1. Inventory real clients. Include TermAI on each platform you use, automation, file-transfer tools, and your emergency access method.
  2. Inspect the server’s effective configuration. For a standard Linux OpenSSH installation, sudo /usr/sbin/sshd -T prints the effective settings; find kexalgorithms. Account for any custom configuration path or service startup options.
  3. Update through your supported distribution channel. Check its package notes and cryptographic policy. Version numbers alone can miss backports or restrictions.
  4. Test the proposed policy on a controlled endpoint. Capture the phone’s negotiated KEX and verify that shell access and SFTP work.
  5. Validate before applying. sudo /usr/sbin/sshd -t checks configuration validity and host-key sanity. Keep an existing session open and provider console access available, then test a fresh login after the approved change.

OpenSSH documents configuration validation in sshd(8) and algorithm restrictions in sshd_config(5). Validation does not prove that your phone is compatible; the fresh login does.

If the client falls back to a classical algorithm, investigate both endpoints’ offers and preferences. If it fails with no matching key exchange method found, use the tested recovery path. Avoid making your only emergency client unusable in the middle of an incident. Prepare SSH lockout recovery beforehand.

How should I use TermAI for a safer production SSH check?

Use TermAI’s assistant to prepare commands you can inspect. A useful prompt is:

Suggest read-only commands to inspect this Linux server’s OpenSSH configuration and enabled key exchanges. Explain each command. Do not propose changes yet.

TermAI suggests commands and waits for your confirmation before execution. Read the command, check the destination host, and understand whether it inspects or changes state. The assistant can help interpret configuration; it cannot infer the phone’s negotiated KEX from a remote ssh -Q result.

Use built-in Tailscale for the private management path, then verify SSH independently. Use SFTP for necessary files, checking a separate file-transfer connection if the app creates one. The free tier includes unlimited SSH/SFTP and five AI requests per day, so the protocol checks do not depend on buying more AI usage.

Keep secrets out of AI prompts and shared debug logs. Post-quantum transport protection does not cover plaintext you copy elsewhere; review AI terminal data privacy alongside your organization’s policy.

Before relying on TermAI for a post-quantum requirement, close the evidence gap in its client row above. For broader operational readiness, combine that evidence with the mobile SSH production safety guide.

What else should I know about mobile post-quantum SSH?

Does an Ed25519 key make SSH post-quantum safe?

No. Ed25519 authenticates a user or host; it does not select the session’s key exchange. A connection can combine Ed25519 authentication with hybrid post-quantum KEX. Quantum-resistant authentication requires its own compatible signature scheme.

Why does SSH warn that my connection is not using post-quantum key exchange?

OpenSSH 10.1 introduced this warning for connections that negotiate a non-post-quantum KEX. Check both endpoints and their algorithm policies. Hiding the warning does not change the cryptography, and silence from a different mobile client does not prove protection. See OpenSSH’s explanation.

Does post-quantum SSH also protect SFTP transfers?

SFTP runs over SSH, so its transport protection depends on the SSH connection carrying it. If an app opens a separate SFTP connection, verify that connection too. Transport encryption does not protect files after they are saved or shared. See the OpenSSH SFTP manual.

Is TermAI confirmed to support post-quantum SSH?

This guide does not establish a verified TermAI algorithm list. Confirm the installed iOS or Android build and its negotiated KEX before relying on it for a post-quantum requirement. Built-in Tailscale and AI command confirmation provide different protections.

Try TermAI

Free on iOS and Android. 5 AI requests/day on the free tier, plus unlimited SSH/SFTP and built-in Tailscale.

CC
Chen Chen — Founder of TermAI

Writes about mobile DevOps, terminal UX, and the surprising depth of "boring" infrastructure.