Which parts of post-quantum SSH change first, and why
The first part of post-quantum SSH to change is key exchange, because the session key negotiated when a connection opens is what protects the traffic inside it. An SSH administrator should start there. The OpenSSH post-quantum page says traffic recorded today is exposed to store-now-decrypt-later attacks unless post-quantum key agreement is used, and it cites estimates of 5 to 20 years before a cryptographically relevant quantum computer exists, with many expecting the mid-2030s. A session captured now can be stored and decrypted later, so the key exchange carries the urgency. Host and user signature keys carry no such risk. A signature proves identity at the moment it is made, so those keys can move to post-quantum signatures later, though the same page says the urgency there is retiring classical signature keys before such a computer exists.
The people affected are server operators, client administrators, automation owners and anyone who manages long-lived SSH keys. Server operators need to confirm which key exchange methods their sshd configuration offers. Client administrators need to know what their ssh builds negotiate, and OpenSSH 10.1 added a client warning, controlled by WarnWeakCrypto (on by default), when a connection negotiates a key agreement that is not post-quantum. Automation owners should check scripts and jump hosts that pin a KexAlgorithms value, since a pinned list can block the newer hybrid methods. RFC 10042 defines hybrid methods such as mlkem768x25519-sha256, and OpenSSH 10.0 made that hybrid the default for key agreement, so the first check is what each host's ssh -Q kex output lists.
Keys that already exist are the second concern. OpenSSH 10.0 removed DSA support, so any ssh-dss keys stop working with that release or later, and any long-lived RSA, ECDSA or Ed25519 keys should be inventoried now. Post-quantum signature keys are not yet a settled standard: the IETF draft draft-sfluhrer-ssh-mldsa-08 is an individual Informational draft with no working group adoption, and OpenSSH 10.4 offers only an experimental composite scheme that is not enabled by default. Plan key inventory and retirement now, and confirm with your SSH software vendor and the current RFCs before you choose a post-quantum signature algorithm for host or user keys.
Where SSH uses public-key algorithms today, and which post-quantum work touches
This table lists each place SSH uses public-key cryptography, from key exchange to host and user keys, and marks which rows post-quantum key exchange touches now. Read the key exchange rows as the first change to plan for, and the signature rows as work still in progress. Each row cites the RFC that defines it.
| Use in SSH | Algorithms or methods | Post-quantum status | Reference |
|---|---|---|---|
| Key exchange, Diffie-Hellman groups | diffie-hellman-group1-sha1, diffie-hellman-group14-sha1 | Touched by post-quantum key exchange work only through replacement, not as a post-quantum method | RFC 4253 |
| Key exchange, ECDH curves | ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521 | Classical, not post-quantum; hybrid methods are defined alongside them | RFC 5656 |
| Key exchange, curve25519 and curve448 | curve25519-sha256, curve448-sha512 | Classical; the hybrid mlkem768x25519-sha256 combines ML-KEM with X25519 | RFC 8731, RFC 10042 |
| Key exchange, post-quantum hybrids | mlkem768x25519-sha256, mlkem768nistp256-sha256, mlkem1024nistp384-sha384, sntrup761x25519-sha512 | Yes, touched now; RFC 10042 is Informational and RFC 9941 is Informational | RFC 10042, RFC 9941 |
| Host key, RSA | ssh-rsa, rsa-sha2-256, rsa-sha2-512 | Classical signature; waits for post-quantum signature support | RFC 4253, RFC 8332 |
| Host key, Ed25519 and Ed448 | ssh-ed25519, ssh-ed448 | Classical signature; waits for post-quantum signature support | RFC 8709 |
| Host key, ECDSA | ecdsa-sha2-nistp256, ecdsa-sha2-nistp384, ecdsa-sha2-nistp521 | Classical signature; waits for post-quantum signature support | RFC 5656 |
| Host key, legacy DSA | ssh-dss | Classical signature; removed in OpenSSH 10.0, so keys no longer work there | RFC 4253, OpenSSH release notes |
| Server-signed exchange hash | Signature over exchange hash H with the server host key | Waits for signatures; RFC 10042 keeps the host key and signature unchanged | RFC 4253, RFC 10042 |
What the SSH standards have published on post-quantum key exchange
Three SSH documents bear on post-quantum work, and none of them is an Internet Standards Track specification. RFC 10042, published in August 2026 as an Informational RFC, defines three hybrid key exchange methods: mlkem768nistp256-sha256, mlkem1024nistp384-sha384 and mlkem768x25519-sha256. Each combines ML-KEM (FIPS 203) with ECDH, and the RFC says the methods are meant to counter harvest now, decrypt later attacks on SSH sessions. RFC 9941, published in April 2026 as an Informational RFC, defines a second hybrid key exchange, sntrup761x25519-sha512, which combines Streamlined NTRU Prime sntrup761 with X25519. Both RFCs cover key exchange only. Neither defines a new host key or signature algorithm, so the server still authenticates itself with its existing host key.
The third document concerns signatures. draft-sfluhrer-ssh-mldsa-08, "SSH Support of ML-DSA," is an individual Internet-Draft dated 28 August 2026, with intended status Informational. It shows no working group adoption and expires on 1 March 2027. Its existence tells you the work is in progress, not that it is settled. The sources listed on this page do not show a published standard for post-quantum host or user signatures in SSH. Teams should not plan host or user key changes around this draft yet.
For planning, separate the two questions. Key exchange can move to a hybrid method once your SSH servers, clients and libraries support one, and the RFC 10042 and RFC 9941 methods are the documented options. Signature keys have no equivalent standard to follow. Confirm the current status of the ML-DSA draft and any later SSH documents on the IETF datatracker before you commit to a host or user key migration. Also confirm which of these methods your specific OpenSSH or library versions implement, since a published RFC does not by itself mean a given build ships it.
Which SSH clients and servers have shipped post-quantum support
OpenSSH has the most dated, verifiable history of post-quantum support in the sources. Its key agreement changes arrived first, and its signature support followed in later releases. Each change is tied to a specific version and date, so check the version on every host you manage rather than assuming a shared default.
- Version 10.0, released 2025-04-09: made the hybrid method
mlkem768x25519-sha256the default for key agreement. It also removed DSA support, so anyssh-dsskeys no longer work with this release or later. - Version 10.1, released 2025-10-06: added the
WarnWeakCryptoclient option, on by default, which warns when a connection negotiates a key agreement algorithm that is not post-quantum. - Version 10.4, released 2026-07-06: added experimental support for
mldsa44-ed25519keys, generated withssh-keygen -t mldsa44-ed25519. This support is not enabled by default. - Version 10.6, released 2026-10-06: enabled the hybrid
ssh-mldsa44-ed25519signature algorithm.
To list the key exchange methods your client supports, run ssh -Q kex, as the OpenBSD ssh_config page describes. Confirm the output includes the hybrid method on each client version you run.
The sources name SSH hybrid methods defined in IETF documents, but they do not say which libraries or commercial products have shipped them. The RFC 10042 hybrid methods and the RFC 9941 hybrid of sntrup761 and X25519 are standards, and a product can support them only once its maintainers implement them. Treat any product support claim as something to verify against that product's own documentation.
- RFC 10042 methods: define
mlkem768nistp256-sha256,mlkem1024nistp384-sha384andmlkem768x25519-sha256, combining ML-KEM with ECDH. It is an Informational RFC published in August 2026, not an Internet Standards Track specification. - RFC 9941 method: defines
sntrup761x25519-sha512, a hybrid of Streamlined NTRU Prime and X25519. It is an Informational RFC published in April 2026. - Signature drafts: the IETF draft
draft-sfluhrer-ssh-mldsa-08is an individual submission with Informational intent and no working group adoption. It is not a standard. - Vendor and library support: the sources list no shipped library or commercial product beyond OpenSSH.
For each library or appliance in your estate, check its release notes for the named key exchange methods. Run ssh -Q kex on the client to see what it actually supports.
The sources give dated facts for OpenSSH and for the IETF documents, and they list nothing further. Do not infer support for other SSH implementations, cloud services or hardware from the presence of an RFC. The absence of a listed product here means the sources do not cover it, not that it lacks support.
- No further products listed: the sources name no SSH clients, servers or libraries beyond OpenSSH and the standards.
- Standards status: the RFCs carry different statuses. Check whether each method you need is a standard or an informational document before you rely on it.
- Signature support is still moving: the ML-DSA composite signature appears only in OpenSSH releases and a draft, so confirm the release on each host.
- Interoperability: do not assume that a hybrid method negotiates correctly between two different implementations. Test the pairs you run.
Before planning, list every SSH client and server version in your environment, then confirm each one's supported methods with ssh -Q kex and its own release notes.
What changes in practice when key exchange moves to hybrid methods
Moving SSH key exchange to hybrid methods changes the negotiated algorithms and some client behavior, but the host key and signature path stays the same. The cards below cover what is protected, what keeps working, what stops working, and where to look when a connection behaves differently.
Hybrid methods are no weaker than the classical part
Hybrid key exchange methods combine a post-quantum algorithm, either ML-KEM or sntrup761, with X25519. The OpenSSH documentation says the hybrid is no worse than the classical algorithm even if the post-quantum part were broken. The purpose is to counter harvest now, decrypt later attacks on recorded SSH sessions. Confirm which hybrid names your OpenSSH version supports with ssh -Q kex.
Host key trust works as before
In the RFC 10042 hybrid methods, the server still sends its public host key and a signature over the exchange hash in SSH_MSG_KEX_HYBRID_REPLY. RFC 10042 defines no new host key or signature algorithms. Clients keep verifying the host key against known_hosts as they do today, so changing key exchange does not by itself change how you establish host trust.
DSA keys stop working in OpenSSH 10.0
OpenSSH 10.0, released on 2025-04-09, removed DSA support, so any ssh-dss keys no longer work with that release or later. Find these keys on servers and in authorized_keys files and automation before upgrading. Moving to ECDSA or Ed25519 keys is the usual replacement, and the affected keys should be inventoried first.
Client warning can appear on non-PQ connections
OpenSSH 10.1, released on 2025-10-06, added a client warning when a connection negotiates a key agreement algorithm that is not post-quantum. The warning is controlled by the WarnWeakCrypto option in ssh_config, which defaults to on. Expect it on connections to older servers that have not been configured for hybrid methods, so the warning does not by itself mean a server is misconfigured.
RSA signature choices are separate
RFC 8332 defines rsa-sha2-256 and rsa-sha2-512 for RSA keys, usable for both server host authentication and client user authentication. It keeps the existing ssh-rsa key format. These are signature algorithm choices, which are separate from the key exchange method. Changing the key exchange to a hybrid does not change which RSA signature algorithms are negotiated, so check both settings when reviewing a connection.
What SSH administrators should do now, in order
This sequence produces a verified list of where SSH is used, which key exchange and key types each system accepts, and a tested, scheduled path to post-quantum key exchange. It starts with inventory because every later step depends on knowing what connects over SSH today.
Inventory SSH hosts, clients and automation
List every SSH server, client, jump host, appliance and script or pipeline that opens SSH connections, including those owned by other teams. For each one, record the OpenSSH or library version, the configured KexAlgorithms, HostKeyAlgorithms and PubkeyAcceptedAlgorithms values, and the key types in use. Treat the inventory as complete only when each entry has these settings recorded or a named owner who can supply them. Keep the record in a form you can filter by key type later.
Find and retire ssh-dss keys
Search authorized_keys files, host key directories and configuration for ssh-dss (DSA) keys, and identify the owner of each one. OpenSSH 10.0, released 2025-04-09, removed DSA support, so these keys no longer work with that release or later. Replace each DSA key with a supported type, update the systems that trust it, and confirm with a test login that the replacement works before removing the old key. The step is done when a search returns no DSA keys in your estate.
Confirm which builds offer hybrid methods
On each client and server build, run ssh -Q kex to list the key exchange methods it supports, and check for the hybrid post-quantum methods such as mlkem768x25519-sha256. The OpenBSD ssh_config manual describes this command for listing supported key exchange algorithms. Record the output against the inventory entry for that build. Where a build does not list a hybrid method, mark it for an upgrade or a vendor question, since the list only reflects what that build supports.
Test negotiation on a non-production host
Choose a non-production host that mirrors a production configuration and make a connection from a client running a current build with WarnWeakCrypto left at its default of on. OpenSSH 10.1, released 2025-10-06, prints a client warning when the connection negotiates a key agreement algorithm that is not post-quantum. Use the output to see which clients and paths still negotiate classical methods. The step is done when you have a written record of the negotiated method for each tested path.
Ask vendors about post-quantum plans in writing
Send written questions to each server, appliance and library vendor on your inventory asking whether they support post-quantum hybrid key exchange, what version provides it, and whether they have a plan for post-quantum signature keys. Ask for the answer to be dated and signed by someone who can commit to it. Note that the OpenSSH page says it plans post-quantum signature support, so for other products you should expect answers that differ in scope and timing. The step is done when every vendor on the list has responded or been escalated.
Schedule the change and record it
Using the inventory, the DSA search, the negotiation tests and the vendor responses, group systems into changes that can each be tested and rolled back. Schedule each group with a named owner, a change window and a documented rollback path, and record the decision and the expected negotiated method for each group. Keep the record with the inventory so the next review can compare planned and observed settings. The step is done when each system in the inventory is assigned to a scheduled change or has a written reason for waiting.
Where the key exchange and host signature sit in an SSH connection
The diagram starts with the version exchange, then moves to key exchange, where a hybrid method such as mlkem768x25519-sha256 combines ML-KEM with X25519 to produce the shared secret. The server then sends its public host key and a signature over the exchange hash, which the client verifies against the key it trusts. User authentication with a client key follows last. The key exchange step is the post-quantum part, and the signature and authentication steps are unchanged in the current standards, so check which key exchange method your client and server actually negotiate.
Key exchange is the post-quantum step; host and user signatures stay classical.
Risks in SSH post-quantum work and how to notice them
Most SSH post-quantum risks come from quiet changes in what gets negotiated or accepted, not from a single failed step. The cards below cover the places where a session or key can drift without anyone noticing, and how to see each one in negotiation logs and the output of ssh -Q kex.
Silent fallback to classical key exchange
A client or server may keep working while negotiating a classical key exchange method instead of a post-quantum one, so the session looks fine but gives no protection against recorded traffic being decrypted later. OpenSSH 10.1 added a client warning when a connection negotiates a key agreement algorithm that is not post-quantum, controlled by WarnWeakCrypto, which defaults to on. Check that warning in client output and confirm the agreed method in verbose logs with ssh -v. Also check that WarnWeakCrypto has not been set to no in any ssh_config.
Legacy DSA keys stop working
Keys of type ssh-dss were a required host key algorithm in RFC 4253, but OpenSSH 10.0 removed DSA support, so these keys no longer work with that release or later. Upgrading a host or client can therefore break logins that depended on an old DSA key without any change to the key itself. Find these keys before upgrading by listing authorized_keys entries and host keys with type ssh-dss, and by checking which OpenSSH version each system runs.
Old ssh-rsa keys after upgrades
RFC 8332 keeps the ssh-rsa key format but defines rsa-sha2-256 and rsa-sha2-512 signatures for RSA keys. A host or client that is upgraded may offer only the newer signature algorithms, so an older peer that expects the plain ssh-rsa signature can fail to authenticate. Check the signature algorithms each side offers and accepts in verbose negotiation logs, and confirm which RSA signature algorithms your OpenSSH builds support before rolling out changes.
Automation that pins old algorithm lists
Scripts, configuration management and jump host templates often hard-code a KexAlgorithms list written before post-quantum methods existed. Such a list can exclude mlkem768x25519-sha256, the default key agreement in OpenSSH 10.0, so clients will not negotiate the post-quantum method even when both ends support it. Search your automation for KexAlgorithms, HostKeyAlgorithms and PubkeyAcceptedAlgorithms lines, and compare the pinned lists against the output of ssh -Q kex on each client version.
Hybrid key exchange does not protect signatures
A hybrid key exchange protects the session secrets, but the server still authenticates with its classical host key and a signature over the exchange hash. The OpenSSH guidance says signatures carry no store-now-decrypt-later risk, so the urgency for signature keys is retiring classical keys before a cryptographically relevant quantum computer exists. Do not record a host or user key as post-quantum just because the session negotiated a hybrid method. Inventory ssh-ed25519, ecdsa-sha2-* and rsa-sha2-* keys separately from key exchange results.
Which parts of SSH post-quantum signatures are still open
The sources leave the post-quantum signature side of SSH much less settled than key exchange. No Internet Standards Track document for post-quantum host or user signatures appears in the sources reviewed here. The main draft, draft-sfluhrer-ssh-mldsa-08, "SSH Support of ML-DSA", is an individual Internet-Draft dated 28 August 2026 with intended status Informational. It shows no working group adoption and expires on 1 March 2027. An individual draft with no adoption carries no standing as an IETF consensus document, so it should not be treated as the protocol you will deploy against. Confirm the current state of that draft on the IETF datatracker before you plan around it.
OpenSSH is the implementation that has moved furthest. OpenSSH 10.4, released on 2026-07-06, added experimental support for a composite scheme combining ML-DSA 44 and Ed25519, generated with ssh-keygen -t mldsa44-ed25519 and not enabled by default. OpenSSH 10.6, released on 2026-10-06, enabled the hybrid ssh-mldsa44-ed25519 signature algorithm. That is one composite parameter set. The sources do not describe signature support for other ML-DSA parameter sets, for other post-quantum signature algorithms, or for user keys held on hardware tokens. Do not assume that a host or user key type you need is covered by this release without checking the OpenSSH release notes for the exact version you run.
The sources also do not say how other SSH implementations will align with OpenSSH's composite signature choice. Nothing in the sources confirms that a different SSH server, client or library will accept ssh-mldsa44-ed25519, or that it will use the same key format and algorithm name. Inventory each SSH implementation you depend on and ask its vendor, in writing, whether it intends to support post-quantum signatures, which algorithm names it will use and when. Check the IETF datatracker and each vendor's documentation for current status before you commit to a host or user key change, because this part of the standard is still moving.
Common questions about post-quantum SSH keys and sessions
Is SSH quantum safe?
No. The OpenSSH post-quantum page says traffic recorded today is exposed to store-now-decrypt-later attacks unless post-quantum key agreement is used. Hybrid key exchange methods reduce that risk because they combine a post-quantum algorithm with X25519 ECDH, and the OpenSSH page says the hybrid is no worse than the classical algorithm even if the post-quantum part were broken. The page cites estimates of 5 to 20 years for a cryptographically relevant quantum computer, with many expecting the mid-2030s. Confirm which key exchange method your client and server actually negotiate, since that is what protects a session.
Should I change my SSH keys now?
It depends on whether the key protects sessions or signs them. The OpenSSH page says signatures carry no store-now-decrypt-later risk, so the urgency for signature keys is retiring classical signature keys before a cryptographically relevant quantum computer exists. Key exchange is the part that needs post-quantum protection now, because recorded sessions can be decrypted later. OpenSSH says it plans to add post-quantum signature support. Its composite ML-DSA 44 and Ed25519 scheme appeared as experimental in release 10.4 (2026-07-06) and was enabled as the hybrid ssh-mldsa44-ed25519 algorithm in 10.6 (2026-10-06). The related IETF draft is an individual Internet-Draft, not a published standard, so plan key replacement around the releases you run.
Do DSA keys still work in OpenSSH?
No. OpenSSH 10.0, released on 2025-04-09, removed DSA support, so ssh-dss keys no longer work with that release or later. RFC 4253 once listed ssh-dss as a required host key algorithm, but current OpenSSH releases do not accept it. Find any remaining DSA host or user keys before upgrading, and replace them with a supported key type such as ed25519 or an RSA key using rsa-sha2-256 or rsa-sha2-512. Test each replacement against your server and client versions before rollout.
How do I check which key exchange methods a client supports?
Run ssh -Q kex on the client to list the key exchange algorithms it supports, as the OpenBSD ssh_config manual page describes. Compare the output against the post-quantum methods named in the sources, such as mlkem768x25519-sha256, which OpenSSH 10.0 made the default, and sntrup761x25519-sha512. A method appearing in the list shows client support only. The server must also offer it, so check the server's configuration and its own version as well. On OpenSSH 10.1 and later, the client warns when a connection negotiates a key agreement algorithm that is not post-quantum, controlled by the WarnWeakCrypto option in ssh_config, which defaults to on.
Can my team do SSH post-quantum changes in-house, or should we get help?
Many teams can handle the changes in-house, and the work breaks into a few parts: inventorying hosts and key types, checking client and server versions, updating key exchange settings, and replacing keys where needed. The effort grows with the number of servers, automation tools, jump hosts and the number of key types in use. Outside help is worth considering when the estate is large, when automation connects over SSH in many places, or when staff lack time to test. DeployOpen plans, implements, hardens and documents self-hosted platforms in the client's own infrastructure, and its engagements are fixed-scope, with scope and deliverables agreed in writing before work starts. Ask any provider for a written scope that names which hosts, key types and automation are covered.
What should I ask a vendor about post-quantum SSH support?
Ask which SSH version or edition they ship, and whether that version includes the post-quantum key exchange methods described in the sources, such as mlkem768x25519-sha256. Ask whether the method is enabled by default or must be configured, and which settings control it. Ask whether they have published any post-quantum signature support for host or user keys, and which version added it. Ask how they handle DSA keys, since OpenSSH 10.0 removed DSA support. Request the exact version and configuration they tested, and confirm in writing that the vendor's dates and product claims match the release notes for that version. Avoid accepting general statements about being post-quantum ready.
Does a hybrid key exchange change how host keys are checked?
No. RFC 10042 defines hybrid key exchange methods that combine ML-KEM with ECDH, and in those methods the server still sends its public host key and a signature over the exchange hash. RFC 10042 defines no new host key or signature algorithms. RFC 4253 describes the same signing step, where the server signs the exchange hash with its private host key and the client verifies that signature. So host key verification works the same way, but the key exchange itself changes. Keep your known_hosts handling and host key policies as they are, and confirm that your version negotiates the hybrid method before relying on it.
How DeployOpen helps plan and test SSH post-quantum changes
DeployOpen treats SSH post-quantum work as two separate tracks: key exchange, where harvest now, decrypt later risk applies to recorded sessions, and host and user keys, where signature changes follow their own standards timeline. Engagements start by inventorying which servers, clients and automation depend on which methods, then plan and test each track on its own terms.
How we scope
- We inventory SSH servers, clients, jump hosts and automation, recording the key exchange and host key settings each one uses.
- We confirm which key exchange methods and key types each system negotiates today, including any remaining ssh-dss or ssh-rsa use.
- Engagements are fixed-scope, with the systems covered, deliverables and timeline agreed in writing before work starts.
How we build
- We configure key exchange preferences on servers and clients, testing hybrid methods such as mlkem768x25519-sha256 against your own OpenSSH versions.
- We check negotiated algorithms in test sessions, so the result reflects what your versions agree on, not what a document lists.
- We plan host key and user key changes separately, keeping signature algorithm changes out of the key exchange rollout.
How we hand over
- You receive a written record of tested configurations, the versions covered and the negotiated algorithms observed in each test.
- Documentation lists open items, such as systems that cannot negotiate a post-quantum method, with the steps and owners for each.
- Runbooks cover rollback, so administrators can revert a configuration change without rebuilding the affected host.
How we support
- Ongoing support and continuous testing are available as retainers, covering version upgrades and new SSH client releases in your estate.
- A retainer can include retesting after each OpenSSH upgrade, since default algorithm choices change between releases.
- Ask any implementation partner to confirm, in the quote, which versions and signature standards the scope and retainer cover.

