What a post-quantum upgrade of OpenSSH involves

For OpenSSH, post-quantum key exchange is already the default in recent releases and needs no new hardware or license. Planners mainly need to check version, configuration overrides and certificate and signature choices.

On this page

What a post-quantum upgrade of OpenSSH involves today

For most OpenSSH deployments, a post-quantum upgrade today is mainly a version and configuration task, not a hardware or licensing purchase. Post-quantum hybrid key exchange is on by default from OpenSSH 10.0, where mlkem768x25519-sha256 is the default key agreement scheme. OpenSSH is developed by OpenBSD Project developers and released under a BSD-style license, so no license purchase applies. The latest release listed on the OpenSSH home page is 10.6, dated October 6, 2026, and the latest portable release is 10.6p2, dated November 5, 2026, as read on 2026-12-03. Planners should confirm which version their servers and clients run, since many hosts still run older builds that do not default to the hybrid scheme.

Host key and certificate signatures are a separate question. OpenSSH 10.5 enabled the hybrid ssh-mldsa44-ed25519 signature algorithm, which combines ML-DSA 44 with Ed25519, and 10.6p2 allowed it as a certificate authority signature algorithm. The ssh-keygen -t mldsa44-ed25519 option generates these keys. Keys produced by the experimental 10.4 build must be regenerated or removed when moving to 10.5, because the @openssh.com suffix was dropped. Teams that manage host keys or a user certificate authority should check the HostKey and CASignatureAlgorithms settings on each server before assuming the new scheme is in use.

The sources listed on this page do not say whether OpenSSH is validated under FIPS 140, whether it meets CNSA 2.0, or what the project plans for post-quantum support after the current release. The OpenSSH home page, security page and portable README do not mention FIPS, CNSA 2.0 or a roadmap, as read on 2026-12-03. Buyers who need any of these should ask the distribution vendor or their own compliance lead for written statements, rather than inferring them from the project's default settings. Operators should also confirm which OpenSSL, LibreSSL or other library build their OpenSSH package uses, because the portable INSTALL notes that a build without a library supports only a subset of ciphers and algorithms.

Which OpenSSH release and component each upgrade item applies to

This table lists each post-quantum-related change in OpenSSH by release, the component it affects and the setting that controls it, with the source for each row. Read it to confirm which upgrade items apply to the version and side (client or server) you run. Items marked as experimental or allowed are not the same as a default, so check the default column before assuming a behavior.

Release and componentWhat changedDefault and settingSource
9.0 (April 2022), client and server key exchangePost-quantum key agreement using sntrup761x25519-sha512 is offered by defaultOn by default; set through KexAlgorithms in ssh_config or sshd_configOpenSSH post-quantum page
9.9, key exchangemlkem768x25519-sha256 added as a key exchange optionNot the default in 9.9; choose it through KexAlgorithmsOpenSSH post-quantum page
10.0 (April 2025), key exchange defaultmlkem768x25519-sha256 becomes the default key agreement schemeOn by default; finite field Diffie-Hellman is disabled in sshd by defaultOpenSSH release notes; sshd_config man page
10.1, client warningClient warns when a connection negotiates a non-post-quantum key agreementWarnWeakCrypto is enabled by default; no-pq-kex turns off only this warningOpenSSH release notes; sshd_config man page
10.4 (2026-07-06), signaturesExperimental composite ML-DSA 44 plus Ed25519 signature supportNot enabled by default; generated with ssh-keygen -t mldsa44-ed25519OpenSSH release notes
10.5 (2026-08-11), host and user signaturesHybrid ssh-mldsa44-ed25519 signature enabled; @openssh.com suffix droppedKeys from the 10.4 experimental version must be regenerated or removedOpenSSH release notes
10.6, server warning (sshd)sshd logs when a client uses a key agreement scheme that is not post-quantum safeWarnWeakCrypto is enabled by default in sshd_configOpenSSH release notes
10.6p2, certificate authority signaturesssh-mldsa44-ed25519 added as an allowed CA signature algorithmCASignatureAlgorithms default includes ssh-mldsa44-ed25519; no default TrustedUserCAKeys fileOpenSSH release notes; sshd_config man page
sshd_config, HostKeyDefault host key files include a hybrid ML-DSA 44 plus Ed25519 keyDefaults include ssh_host_mldsa44_ed25519_key alongside the ECDSA, Ed25519 and RSA keyssshd_config man page

Which parts of an OpenSSH deployment the upgrade touches

An OpenSSH upgrade is not one switch. Key exchange, host keys, user keys, certificate authorities and the libcrypto build underneath each carry their own settings and their own dependencies on public-key algorithms. Inventory each part separately so the plan covers all of them.

Key exchange with KexAlgorithms

KexAlgorithms sets the key exchange algorithms a client or server offers. Since release 10.0, the default first entry is the hybrid mlkem768x25519-sha256, which is post-quantum key agreement and needs no action on a default configuration. Check whether any ssh_config or sshd_config overrides the list, because a fixed list can remove the hybrid entry. Use ssh -Q kex on each build to see what it supports.

sshd_config manual

Host keys and HostCertificate

HostKey names the private host key files, and HostCertificate loads a certificate whose public key must match a configured HostKey. The signature algorithms for host keys are set by HostKeyAlgorithms. Ed25519, ECDSA and RSA remain the common host key types. The post-quantum signature option ssh-mldsa44-ed25519 is available in newer builds, but it is a hybrid of ML-DSA 44 and Ed25519 and is not a replacement for Ed25519 alone. Confirm which host key types each client accepts before generating new keys.

User keys and PubkeyAcceptedAlgorithms

PubkeyAcceptedAlgorithms controls which signature algorithms the server accepts for user public-key authentication. Its defaults include Ed25519, ECDSA, FIDO security keys, RSA with SHA-2 and ssh-mldsa44-ed25519. Generating a user key with ssh-keygen -t mldsa44-ed25519 gives a hybrid key, and keys from the experimental 10.4 build must be regenerated or removed after the 10.5 change. Plan a key inventory that lists the key type of every user and automation key.

CA signing with TrustedUserCAKeys

TrustedUserCAKeys names the file of certificate authority public keys that may sign user certificates, and the manual page sets no default for it. CASignatureAlgorithms limits which signature algorithms a certificate authority may use, and certificates signed with other algorithms are rejected. Check the signing algorithm of each CA key before you change the list, because a CA that signs with an unlisted algorithm will stop issuing accepted certificates.

The libcrypto build dependency

Portable OpenSSH builds link against libcrypto. The INSTALL file names LibreSSL 3.1.0 or later and OpenSSL 1.1.1 or later, with AWS-LC or BoringSSL as optional alternatives. The library version determines which algorithms the build can offer, so an OpenSSH upgrade on an old library may not deliver the new options. Confirm the library and version on each server package, since distribution builds can differ from the portable source.

INSTALL file

Builds configured with --without-openssl

A build made with --without-openssl drops the libcrypto dependency and supports only a subset of ciphers and algorithms. Such a build may lack the post-quantum key exchange and signature options entirely, regardless of the OpenSSH version number. Identify which builds in the fleet were compiled this way, and check their algorithm list with ssh -Q kex and ssh -Q HostKeyAlgorithms before planning an upgrade.

How the upgrade differs by release line and deployment

OpenSSH 10.0 made mlkem768x25519-sha256, a hybrid of ML-KEM and x25519, the default key agreement scheme, following post-quantum key agreement that has been on by default since release 9.0. For a server on 10.x, the key exchange side usually needs no change, and the remaining work is about the signature side and the warnings the server emits. The 10.5 and 10.6 releases add hybrid signature support, and 10.6 adds WarnWeakCrypto to sshd_config, which is enabled by default.

  • Key exchange default: mlkem768x25519-sha256 is first in the documented KexAlgorithms default list, so confirm the effective list with sshd -T.
  • Signature types: ssh-mldsa44-ed25519 appears in the HostKeyAlgorithms, PubkeyAcceptedAlgorithms and CASignatureAlgorithms defaults from 10.5 onward.
  • Host key files: the HostKey defaults include ssh_host_mldsa44_ed25519_key, but a host key of that type must be generated and listed.
  • Warnings: WarnWeakCrypto on the server logs clients that negotiate a key agreement scheme that is not post-quantum.
  • Experimental keys: keys made with the 10.4 experimental composite scheme must be regenerated or removed after 10.5.

Check the effective configuration on each server, because a local override of KexAlgorithms or the host key list changes what clients are offered.

Which upgrade path applies to a given OpenSSH install?

Start by checking the OpenSSH release in use, since 10.0 or later enables hybrid mlkem768x25519-sha256 key exchange by default. Then check whether host key, user key or CA signature settings matter for the plan, whether KexAlgorithms is overridden in ssh_config or sshd_config, and whether WarnWeakCrypto is set. Each branch ends at an observed state to record, such as the negotiated key exchange or the logged warning, not at a compliance claim.

Decision path from release check to the observed state a team should record.

Steps to plan an OpenSSH post-quantum upgrade

This sequence turns an unknown SSH estate into a tested plan. Each step produces a record, such as a version list, a config override list or a test result, that shows the upgrade is ready to go ahead. It is ordered so that inventory and configuration checks come before any key generation or policy change.

  1. Inventory every server, client and build

    Record each OpenSSH server and client in use, along with its version and whether it is a portable build or a distribution package. Run ssh -V on clients and sshd -V on servers to read the version, and note the owner and location of each host. Include scp, sftp and any embedded or appliance builds, because they may not report the version the same way. The step is done when every host appears in one list with a version against it, and any host that cannot be read is flagged for follow-up.

  2. Check for KexAlgorithms and Ciphers overrides

    Search sshd_config and ssh_config on each host, and in any included files, for KexAlgorithms and Ciphers lines. A configured list replaces the documented default, so a host can run an older key exchange even when the release default is post-quantum. Where a line uses a leading +, - or ^, record exactly how it changes the default. The step is closed when each host has a note saying either that no override exists or what the override is.

  3. Confirm the libcrypto dependency for portable builds

    For portable builds compiled from source, check which crypto library the binary was linked against and the version of that library. The portable INSTALL file lists LibreSSL 3.1.0 or later, OpenSSL 1.1.1 or later, and AWS-LC or BoringSSL as the supported options, and notes that a build made with --without-openssl supports only a subset of ciphers and algorithms. Confirm the build options used, since a build without a suitable library may lack the algorithms you plan to enable. The step is done when each portable build has its linked library and build flags recorded.

  4. Decide between ssh-mldsa44-ed25519 host keys and CA keys

    Decide how each host and user will hold the hybrid ML-DSA 44 and Ed25519 signature key. The release notes say ssh-mldsa44-ed25519 became an enabled signature algorithm in 10.5, and 10.6p2 allowed it as a CA signature algorithm. Keys generated with the experimental 10.4 build must be regenerated or removed, so list any existing keys of that kind. Decide whether host keys will be generated directly or certificates will be issued from a CA, and record the decision for each group. The step is done when the decision and the key inventory are written down for every host group.

  5. Test algorithm support with ssh -Q

    On a representative build of each version, run ssh -Q kex to list the key exchange algorithms it supports, and ssh -Q HostKeyAlgorithms to list the host key signature types. Confirm that the hybrid key exchange and ssh-mldsa44-ed25519 appear in the output for builds that should have them, and that the output matches what the release notes say for that version. Run a test connection between a client and a server, and check the negotiated algorithm in verbose output. The step is closed when the test results for each build are recorded.

  6. Review WarnWeakCrypto logs

    Enable and review the warnings that OpenSSH emits when a connection uses a key exchange that is not post-quantum. The client-side warning arrived in 10.1, and the server-side WarnWeakCrypto setting arrived in 10.6, where it is enabled by default. Collect the warnings from a test period and group them by client, user and host, so that you can see which connections still negotiate a classical exchange. The step is done when each warning source has been assigned to an owner or a planned fix.

What the sources do not establish and what to ask OpenSSH or its distributor

The OpenSSH home, security and README pages, read on 2026-12-03, do not establish FIPS or CNSA 2.0 status or a post-quantum roadmap, and the manual pages list no ML-KEM-1024 key exchange or ML-DSA-87 or SLH-DSA signature. Each card below names one gap and the question to put to the project or the distribution that packages it.

FIPS and CNSA 2.0 status

The OpenSSH home page, security page and portable README, as read on 2026-12-03, do not mention FIPS or CNSA 2.0, and the portable INSTALL file does not mention FIPS either. Those sources do not say whether any OpenSSH build is validated or whether it meets CNSA 2.0 expectations for national security systems. Ask the project or your distributor for a written statement on FIPS validation status, the exact build and module it applies to, and whether CNSA 2.0 is planned. Ask whether a validation certificate exists for the libcrypto build your distribution ships.

OpenSSH security page

Post-quantum roadmap

The OpenSSH home, security and README pages, read on 2026-12-03, do not describe a post-quantum roadmap. The post-quantum page describes what shipped, including the default hybrid key exchange since 10.0, but not what is planned next. Ask the project whether it publishes a roadmap, a deprecation schedule for non-post-quantum key exchange, or a transition guide. Ask your distributor whether it commits to packaging those changes and on what timeline.

OpenSSH post-quantum page

ML-KEM-1024 key exchange

The sshd_config and ssh_config manual pages, read on 2026-12-03, list mlkem768x25519-sha256 and mlkem768nistp256-sha256 as ML-KEM key exchange names, and list no ML-KEM-1024 name. Those pages do not say whether ML-KEM-1024 is planned or excluded. Ask the project whether an ML-KEM-1024 key exchange is on its roadmap and, if so, which release it targets. Ask your distributor whether a build with that name will be packaged, since a build may differ from upstream.

sshd_config man page

ML-DSA-87 and SLH-DSA signatures

The HostKeyAlgorithms, PubkeyAcceptedAlgorithms and CASignatureAlgorithms directives, as documented on 2026-12-03, list ssh-mldsa44-ed25519 among post-quantum signature types, and list no ML-DSA-87 or SLH-DSA type. The signature scheme in OpenSSH 10.5 and later is a hybrid of ML-DSA 44 with Ed25519. Ask the project whether ML-DSA-87 or SLH-DSA signatures are planned, and for which key and certificate types. Ask your distributor whether its build exposes any signature type beyond those in the upstream manual pages.

ssh_config man page

Hybrid host key readiness

OpenSSH 10.4 added the ML-DSA 44 plus Ed25519 composite signature as experimental and not enabled by default, and OpenSSH 10.5 enabled ssh-mldsa44-ed25519 and dropped the @openssh.com suffix. The sources do not say whether this scheme is ready for production host keys. Ask the project whether it recommends ssh-mldsa44-ed25519 for host keys, and whether the composite draft it implements is final. Ask your distributor whether it has tested the hybrid host key with the clients it supports, and whether keys made with the experimental 10.4 build must be regenerated before upgrading.

OpenSSH release notes

What can go wrong during an OpenSSH post-quantum upgrade

The most common problems in an OpenSSH post-quantum upgrade are not server failures. They are clients that cannot negotiate the hybrid key exchange, and settings that quietly keep classical-only key exchange in place. The default key exchange list in the sshd_config manual page starts with mlkem768x25519-sha256, which OpenSSH 10.0 made the default. A client that does not offer that name will fall back to a classical algorithm, and a KexAlgorithms override in either ssh_config or sshd_config can pin the list to older names without any error. Confirm which client builds in your environment support mlkem768x25519-sha256 by running ssh -Q kex, and check the effective KexAlgorithms value on each host with sshd -T and ssh -G, since a leftover override in an included file is easy to miss.

Keys generated by the experimental build need attention. OpenSSH 10.4 added the composite ML-DSA 44 and Ed25519 signature scheme as experimental, generated with ssh-keygen -t mldsa44-ed25519. OpenSSH 10.5 enabled the standard ssh-mldsa44-ed25519 algorithm, dropped the @openssh.com suffix, and said keys generated by the experimental version must be regenerated or removed. Find any such keys in your user and host directories and plan to regenerate them, because a key created under the experimental name will not match the algorithm the 10.5 build expects. The same applies to certificate authority keys, so inventory those separately.

Certificate authority setups need a check of CASignatureAlgorithms. Its documented default includes ssh-mldsa44-ed25519 in OpenSSH 10.6p2 and later, but the sshd_config manual page states that certificates signed with other algorithms are rejected. If your servers pin CASignatureAlgorithms to an explicit list that omits ssh-mldsa44-ed25519, or if your CA signs with an algorithm that is not in the list, certificate logins may fail. Confirm the directive on each server against the release you run, and treat any explicit list as a configuration you own. Also confirm that TrustedUserCAKeys still points at the intended CA public keys and that certificates still carry the principals list the manual page requires.

Questions planners ask about upgrading OpenSSH for post-quantum

Is OpenSSH quantum safe?

OpenSSH does not carry a quantum-safe claim, and the sources listed on this page do not support one. What they do show is narrower: OpenSSH has offered post-quantum key agreement by default since release 9.0 (April 2022), using sntrup761x25519-sha512, and since 10.0 (April 2025) the default key agreement is mlkem768x25519-sha256, a hybrid of ML-KEM and x25519. Post-quantum key agreement protects the session key exchange. It does not, by itself, cover host keys, user keys or certificates. For signatures, OpenSSH 10.5 enabled a hybrid ssh-mldsa44-ed25519 algorithm, and the pages read do not list ML-DSA-87 or SLH-DSA. Confirm each part of your own deployment against the release you run, and check your configuration with the vendor's documentation.

Which OpenSSH version do I need for post-quantum key exchange?

The sources show that post-quantum key agreement arrived in OpenSSH 9.0 with sntrup761x25519-sha512, and that 9.9 added mlkem768x25519-sha256. Since 10.0 the ML-KEM hybrid is the default. If you run a release older than 9.0, you cannot use this default. Post-quantum signature support is newer: the experimental composite was added in 10.4 (2026-07-06), and ssh-mldsa44-ed25519 was enabled in 10.5 (2026-11-08 release date not stated in the pages read; the release date given is 2026-08-11). Version 10.6 is the latest release on the home page, dated October 6, 2026, and the latest portable release is 10.6p2, dated November 5, 2026. Confirm which build your distribution actually ships, because packaged versions often differ from upstream.

Does the OpenSSH post-quantum upgrade cost extra?

OpenSSH is released under a BSD-style license, so there is no license fee for the software itself. Costs come from labor and testing: someone must confirm the version in each environment, review the key exchange and signature settings, roll out changes across servers and clients, and check compatibility with older clients and appliances. Packaged builds from your Linux distribution may need their own validation. One-time costs include the initial inventory, testing and rollout. Recurring costs include tracking new releases and re-checking configuration after upgrades. The sources do not give a price or effort estimate, so ask any service provider for a written scope, and treat the figure they quote as their estimate, not a value this page supports.

What breaks when I enable post-quantum settings in OpenSSH?

The main risk is interoperability, not failure of the software. Post-quantum key exchange is on by default in recent releases, so clients and servers that negotiate it will use it without a change. Older clients, network appliances and distribution packages may not offer the same algorithms, and a connection can fail if no common key exchange or signature algorithm exists. A narrowed KexAlgorithms or HostKeyAlgorithms list can also cause this. In 10.1 a client warning was added when a connection uses a key agreement that is not post-quantum, and in 10.6 the server gained WarnWeakCrypto, enabled by default, to log such connections. Test with representative clients before changing settings across a fleet, and keep a rollback path that restores the previous algorithm list.

What should I ask the OpenSSH project before planning a post-quantum upgrade?

Ask for the points the public pages do not settle. The OpenSSH home page, security page and portable README, as read on 2026-12-03, do not mention FIPS, CNSA 2.0 or a post-quantum roadmap, so ask whether the project has published any plan. Ask which signature algorithms will be supported beyond the hybrid ssh-mldsa44-ed25519, and whether ML-DSA-87 or SLH-DSA are planned. Ask whether a distribution or appliance vendor will backport these settings to a long-term support release. For a regulated environment, ask how the project handles security advisories, which versions receive fixes and for how long. Put each question to the project in writing, and record the date and the answer you receive.

Can my team do the OpenSSH post-quantum upgrade in-house or do we need outside help?

Many teams can do this in-house if they have administrators who know their SSH configuration, a test environment that mirrors production, and time to check compatibility. The work is mostly configuration, testing and rollout, and the OpenSSH manual pages document each setting. Outside help is worth considering when the fleet is large or mixed, when old clients and appliances must keep working, when the change must meet a formal compliance review, or when no one on the team owns SSH trust. An outside provider should give a written, fixed scope with deliverables and timelines agreed before work starts. DeployOpen plans, implements, tests and documents self-hosted platforms inside the client's own infrastructure, and prepares evidence for compliance reviews, but it does not issue audit reports or certifications.

How DeployOpen helps plan and carry out an OpenSSH post-quantum upgrade

DeployOpen works through an OpenSSH post-quantum upgrade in stages: first confirming which OpenSSH builds and configurations are in use, then agreeing the scope in writing, then making and testing the changes in your environment. The work covers key exchange, host keys, user keys and certificate authorities, with each change documented so your administrators and reviewers can check it.

How we scope

  • Record the OpenSSH version and portable or distribution build on every client and server, since builds without OpenSSL or LibreSSL support offer a smaller set of algorithms.
  • Review the KexAlgorithms, HostKeyAlgorithms, PubkeyAcceptedAlgorithms and CASignatureAlgorithms settings on each host, including any overrides that pin older choices.
  • Agree the scope in a fixed written document that names which systems, keys and certificate authorities are covered and what is excluded.

How we build

  • Apply the key exchange, host key and signature changes in a test environment first, then confirm that older clients and appliances in your estate still connect.
  • Check post-quantum key agreement with the verbose client output and the WarnWeakCrypto setting, so any remaining connections using non-post-quantum key agreement are identified.
  • Test any trial of the hybrid ssh-mldsa44-ed25519 signature type against your certificate authority and user key workflows before it is used on production hosts.

How we hand over

  • Deliver configuration files, a change log and a list of hosts and keys updated, so the rollout can be repeated or audited by your team.
  • Document the fallback settings and the steps to revert a host, so administrators can restore earlier behavior if a legacy client fails.
  • Provide an inventory of host keys, user keys and certificate authorities covered by the work, with notes on any items that still need action.

How we support

  • Ongoing support is available as a retainer for upgrades, new OpenSSH releases and periodic checks of the configuration on your hosts.
  • Retest after OpenSSH version changes, since later releases have changed defaults and added signature types, so earlier settings may need review.
  • Keep the inventory and documentation current as hosts are added or retired, so the list of post-quantum readiness stays accurate over time.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.