Why does Gerrit trigger the SSH post-quantum key exchange warning?
A developer or operator who sees the OpenSSH warning on a Gerrit clone, fetch or push is seeing a message from the OpenSSH client, not from Gerrit itself. The warning begins with "** WARNING: connection is not using a post-quantum key exchange algorithm." and says the session may be vulnerable to "store now, decrypt later" attacks. The connection is still encrypted. What the warning reports is that the server offered no post-quantum key exchange during negotiation, and because the client only describes what the server offered, the fix has to happen on the Gerrit server or in the build it runs. The site operator is the person who has to act, not each developer who connects.
The sources record that Gerrit 3.11.x, with Apache MINA sshd 2.14.0, showed the warning. A November 2025 repo-discuss report used Gerrit 3.11.7 and an OpenSSH 10.2p1 client, and adding kex = +sntrup761x25519-sha512 under [sshd] in gerrit.config did not change the result. That thread records an issue-tracker report, numbered 460165740, with no maintainer response shown. A separate Wikimedia operator report, which is not a Gerrit statement, says the warning still appeared on Gerrit 3.11.11 in November 2026 and that a contributor confirmed it goes away on Gerrit 3.12. The Gerrit 3.12 release page lists an update to mina-sshd 2.15.0, whose change list includes ML-KEM hybrid key exchanges. Whether a given 3.12.x release removes the warning for your setup is a question to confirm by testing, not to assume from the release notes.
Treat the warning as a planning item, not an emergency. The sources do not say that the warning reflects a broken connection or an active attack, and they do not say when Gerrit will ship a fix in a supported release line. Confirm with Gerrit's maintainers or the repo-discuss list which 3.12.x release you should run, and check the sshd.kex setting and sshd.enableDeprecatedKexAlgorithms in your own configuration before changing anything. The only client-side workaround in the sources, WarnWeakCrypto=no-pq-kex for the Gerrit host in ~/.ssh/config, hides the warning without changing the key exchange, so it is not a fix for the server.
Who has to act on the warning at Gerrit
The warning appears on the developer's machine, but the fix sits with the people who run and package the Gerrit server. Each role below controls a different part of the chain and cannot change the others, so check which one applies before you act.
Gerrit site operator
The site operator controls the Gerrit server build and the sshd.kex setting in gerrit.config. Gerrit's documentation says that by default all supported key exchange algorithms are available, and the documented list does not name mlkem or sntrup methods. Check which key exchange methods your running build actually offers, then confirm the change with a fresh client connection. A site operator cannot change the client's warning behavior or the code of the bundled SSH library.
Developer who sees the message
A developer sees the WARNING: connection is not using a post-quantum key exchange algorithm message in their OpenSSH client. They can only hide it for one host by setting WarnWeakCrypto no-pq-kex in a Match host block in ~/.ssh/config. This suppresses the message but does not change the key exchange the server offers, so the connection stays the same. Use this only as a temporary measure, and tell the site operator if the warning persists across many users.
Release or packaging team
The release or packaging team decides which Gerrit version and which Apache MINA SSHD dependency ship in the build your organization runs. Gerrit's 3.12.x release page lists an update to mina-sshd 2.15.0, which the MINA changes list says adds ML-KEM hybrid key exchanges. Ask which Gerrit version your team packages and whether it includes that dependency update. A packaging team cannot force the hybrid methods on if the bundled library does not support them.
Gerrit 3.12 release pageUpstream Gerrit project
The upstream Gerrit project owns the bundled SSH server behavior and the default key exchange list. A November 2025 repo-discuss thread reports that adding a sntrup761x25519-sha512 entry under [sshd] did not work on Gerrit 3.11.7, and it links an issue report numbered 460165740. The thread records no maintainer response or resolution, so do not assume the upstream project has fixed this. Operators and downstream packagers cannot resolve the upstream issue, but they can follow the thread and report their own results.
How do you see which key exchange Gerrit negotiates?
These checks separate what the Gerrit server offers from what your client negotiates, so you can tell whether the warning comes from the server configuration, the Gerrit build, or the client. Run them from a machine that shows the warning, and keep the output for comparison after each change.
Confirm client key exchange support
On the workstation or build host that shows the warning, run
ssh -Q kexto list the key exchange algorithms your OpenSSH client supports. Look for post-quantum methods such as mlkem768x25519-sha256 and sntrup761x25519-sha512. OpenSSH has offered post-quantum key agreement by default since 9.0, so a client that lists these methods is not the limiting factor. Save the output so you can compare it with the negotiated result in the next step.Record the negotiated key exchange
Run
ssh -vagainst your Gerrit host, replacing the host name with your own server, and filter the debug output for the key exchange line. The command isssh -v -p 29418 <your-gerrit-host> exit 2>&1 | grep 'kex: algorithm:', using the SSH port your Gerrit instance listens on. The line shows the algorithm both sides agreed on. If it names a classical method such as curve25519-sha256 and no post-quantum method, the server did not select one from the list it offered.Check the Gerrit version
Find the running Gerrit version on the server, for example from the version shown in the web interface or the Gerrit installation. The repo-discuss thread reports the warning on Gerrit 3.11.7 with Apache MINA sshd 2.14.0. Wikimedia's Phabricator task, an operator report and not a Gerrit statement, says the warning still appeared on Gerrit 3.11.11 and went away on Gerrit 3.12. Note the exact version, because the fix path depends on whether you can move to a 3.12.x release.
Check the bundled mina-sshd version
Confirm which Apache MINA sshd version your Gerrit build bundles, usually by inspecting the mina-sshd library in the Gerrit installation or its release notes. The MINA SSHD 2.15.0 change list includes support for ML-KEM PQC hybrid key exchanges. The Gerrit 3.12.x release page lists updating mina-sshd to 2.15.0. A build that still bundles 2.14.0 or earlier cannot offer the ML-KEM methods, whatever you configure.
Compare against the sshd.kex defaults
Open the sshd settings in the Gerrit configuration documentation and check the sshd.kex entry in your gerrit.config. The documentation says all supported algorithms are available by default, but its documented list does not mention mlkem or sntrup. That means the defaults do not list post-quantum methods, and an explicit entry may be needed for your build to offer them. Confirm the exact behavior for your version in the documentation before editing the file.
Read the server response against the warning
Use the results together. If the client supports a post-quantum method but the negotiated line shows a classical one, the server did not offer or select it, which points to the Gerrit build or its sshd.kex setting. If the negotiated line already shows a post-quantum method, the warning is coming from another connection or from a cached client configuration. Write down which case applies before making any change, since adding the kex entry alone did not resolve the issue for the thread's author.
Which Gerrit causes produce the warning and what fixes each
This table lists the four causes the sources connect to the OpenSSH warning on Gerrit, with the fix each one supports. Read each row as a separate check: confirm the Gerrit version, then the kex settings, then the client version. The Gerrit 3.12 row is the only fix the sources report as working.
| Cause | How to check it | Fix the sources support |
|---|---|---|
| Gerrit build older than 3.12, running mina-sshd 2.14.0 | Confirm the Gerrit version and whether the build uses mina-sshd 2.14.0. The November 2025 thread reports Gerrit 3.11.7 on mina-sshd 2.14.0. | Upgrade to Gerrit 3.12.x. The 3.12 release page lists an update to mina-sshd 2.15.0, which adds ML-KEM hybrid key exchanges. An operator report says the warning goes away on 3.12. |
| An sshd.kex setting in gerrit.config that restricts the algorithms offered | Look for sshd.kex under [sshd] in gerrit.config. Gerrit's documentation says that by default all supported algorithms are available. | Remove the restriction, or make sure the list includes a post-quantum method. Gerrit's documented list does not name mlkem or sntrup, so confirm support in your build before adding one. |
| sshd.enableDeprecatedKexAlgorithms left off, so only the default list is offered | Check whether sshd.enableDeprecatedKexAlgorithms is set. Gerrit's documentation says it is off by default, which keeps the group1, group14 and group-exchange SHA-1 methods disabled. | Turning it on only re-enables the deprecated SHA-1 methods and adds no post-quantum method. Do not treat it as a fix for the warning. The post-quantum fix is the Gerrit 3.12 upgrade. |
| A client newer than the server, so the client offers post-quantum methods the server does not | Run ssh -Q kex on the client to list its methods, then ssh -v against the Gerrit host and grep for kex: algorithm to see what was negotiated. | Upgrading the server is the fix. The warning comes from the client and reports what the server offered, so changing the client does not add a method to the server. |
| Adding +sntrup761x25519-sha512 under [sshd] in gerrit.config | Check whether the kex entry was added in the form described in the reported thread: kex = +sntrup761x25519-sha512 under [sshd]. | The reported thread says this did not work with Gerrit 3.11.7 and OpenSSH 10.2p1, and the thread shows no maintainer resolution. Do not rely on it. Upgrade to Gerrit 3.12.x instead. |
| Hiding the warning on the client only | Check ~/.ssh/config for WarnWeakCrypto no-pq-kex on the Gerrit host. | This setting hides the warning for that host and leaves the key exchange unchanged. It is not a fix. Use it only as a temporary measure while you schedule the server upgrade. |
What to change on the Gerrit server, in order
This sequence moves a Gerrit instance to a release whose bundled SSH library supports post-quantum hybrid key exchange, then confirms the server offers it. Each step ends with a check so you know whether the warning should stop appearing for clients.
Record the current Gerrit and mina-sshd versions
Start by confirming which Gerrit version the server runs and which Apache MINA sshd version it bundles. The November 2025 repo-discuss report describes Gerrit 3.11.7 with mina-sshd 2.14.0, which did not resolve the warning. Check your own build's version in the Gerrit web UI or from the server's installed release, and note it before making any change. You are done when you have written down both values for comparison after the upgrade.
Review sshd.kex in gerrit.config
Open gerrit.config on the server and look at the [sshd] section for any kex setting. Gerrit's documentation says sshd.kex lists the available key exchange algorithms and that by default all supported ones are available, and its documented list does not mention mlkem or sntrup. Also confirm that sshd.enableDeprecatedKexAlgorithms is still at its default, which is off. Do not rely on adding a kex entry by hand: the repo-discuss thread reports that kex = +sntrup761x25519-sha512 under [sshd] did not work on 3.11.7. You are done when you know whether any kex line is set and have recorded its value.
Plan the upgrade to Gerrit 3.12.x
The Gerrit 3.12.x release page lists 'Update mina-sshd to 2.15.0' among its dependency changes, and its latest listed release is 3.12.12. Apache MINA SSHD 2.15.0 includes support for ML-KEM PQC hybrid key exchanges, tracked as GH-606 in its changelog. Choose the 3.12.x release that fits your support window, and read its release notes for any configuration or plugin changes. You are done when you have a target version and a written list of anything in the release notes that affects your site.
Test the upgrade on a staging instance
Install the target 3.12.x release on a staging Gerrit instance that holds a copy of your site, not on production. Confirm that the bundled mina-sshd is 2.15.0 and that gerrit.config still loads. Then connect from an SSH client and check the negotiated key exchange with ssh -v against the staging host, filtering for the kex line. Wikimedia's Phabricator task T407844 is an operator report, not a Gerrit statement, and says a contributor confirmed the warning goes away on 3.12. Treat that as a lead to verify on your own staging server. You are done when the staging server negotiates a post-quantum key exchange and clients stop showing the warning.
Reload or restart Gerrit on production
Schedule the upgrade in a window that your team has agreed on, then install the same 3.12.x release on production and restart Gerrit so the new SSH library loads. Confirm the service is running and that Git clone and push over SSH succeed for a test account. Keep the previous version available so you can roll back if the staging results do not hold in production. You are done when Gerrit is running the new release and test operations succeed.
Confirm the negotiated key exchange on production
Run ssh -v against your production Gerrit host with an OpenSSH client and filter the output for the kex line, using the form ssh -v git@your-gerrit-host exit 2>&1 | grep 'kex: algorithm:' with your host name substituted. Check that the negotiated algorithm is a post-quantum hybrid method. The method names defined in RFC 10042 include mlkem768x25519-sha256, and OpenSSH 10.0 and later default to it. You are done when the production server negotiates a post-quantum method and the warning no longer appears for the clients you tested.
Record the outcome and report any remaining warnings
Write down the Gerrit version, the mina-sshd version, the negotiated key exchange and the date of the check. If the warning still appears for some clients, record the client version and whether it was the only client affected, since the warning comes from the OpenSSH client and only the server can change what it offers. Report any unresolved case to the Gerrit project on the repo-discuss list or through its issue tracker. You are done when the change record is complete and any open cases have an owner.
How the upgrade differs for packaged, containerized and WAR installs
A WAR or manual install is one where the operator downloads the Gerrit WAR file, runs the init step and manages the site directory, the Java runtime and the service unit themselves. Because the operator chooses the exact Gerrit build, the operator also chooses when the post-quantum-capable version arrives. The Gerrit 3.12 release page lists an update of mina-sshd to 2.15.0, which is the Apache MINA SSHD version that adds ML-KEM hybrid key exchanges, so a 3.12.x build is the release line to examine. An operator who keeps 3.11.x is running the line where a November 2025 repo-discuss report and a Wikimedia operator report say the warning still appeared.
- Pick the target build: confirm the 3.12.x release you intend to use in the Gerrit 3.12 release notes, and check the dependency list for the mina-sshd version.
- Replace the WAR: stop the service, back up the site directory, and swap in the new WAR, then run the upgrade or init step your Gerrit documentation describes for that version.
- Keep the Java runtime current: check the Java version the new release requires in its documentation, since the runtime is yours to update.
- Re-check sshd settings: review
sshd.kexingerrit.configafter the upgrade. The configuration documentation says all supported algorithms are available by default, and a November 2025 report says adding a sntrup entry did not work on 3.11.7. - Restart and test: restart Gerrit and repeat the client check from the verification section.
Check that the WAR you installed matches the version number in the release notes before you restart the service.
A package-managed install is one where Gerrit came from a Linux distribution repository, a vendor-maintained package or a third-party repository. The operator does not choose the Gerrit build directly. The packager does, and the packager decides when a build with mina-sshd 2.15.0 reaches its repository. The operator's job is to confirm that the package version on the host includes the fix, and to keep the package manager on the same channel as the one that carries it.
- Find the packaged version: run the package manager's query command for Gerrit on the host and compare the result with the 3.12.x line in the Gerrit release notes.
- Check the packager's channel: confirm in the distributor's documentation which repository carries Gerrit and whether it ships 3.12.x yet. Do not assume a package name; look it up for your distribution.
- Pin or hold the package: if you need to stay on a known version during testing, use your package manager's hold or pin feature, and record the version.
- Upgrade through the packager: apply the package update, then review any configuration file changes the package reports, since they may touch
gerrit.config. - Verify the running build: after the service restarts, check the version the running Gerrit reports, not only the installed package.
If the packager's repository still carries 3.11.x, the warning will persist until the packager ships a newer build, and the operator has no fix to apply on the host.
A container install runs Gerrit from an image pulled from a registry. The operator controls which image tag the deployment references, but the image contents depend on the people who built it. Changing the configuration inside a running container is not durable, because the next image pull or redeploy resets the filesystem. The fix therefore sits in the image tag and in the mounted configuration that the operator keeps outside the image.
- Identify the image tag: find the tag your deployment file references, and confirm which Gerrit version it contains, using the image's labels or the publisher's documentation.
- Confirm the tag contains 3.12.x: do not assume a tag name indicates a version; check the publisher's listing or the release notes for the tag you plan to use.
- Keep configuration outside the image: make sure
gerrit.configand the site directory are mounted from the host, so thesshd.kexsetting survives the new container. - Roll the deployment: update the image reference, redeploy, and let the container start against the existing site directory.
- Test the running container: run the client check against the published port, and confirm the value in the container's logs.
If you build your own image, the mina-sshd version is set by the Gerrit build you compile or download, so rebuild from a 3.12.x source or WAR.
A hosted Gerrit is one where a provider runs the Gerrit service and the organization uses it without controlling the host, the sshd configuration or the release schedule. The site operator in that case cannot edit gerrit.config on the server or choose the Gerrit build. The organization's levers are the provider's support channel, its contract or service terms, and any setting the provider exposes through its administration interface.
- Ask which Gerrit version runs: request the exact release from the provider, and ask whether it includes the mina-sshd update.
- Ask for the upgrade plan: request the provider's target date for a 3.12.x build, in writing, and ask what notice you receive.
- Ask about key exchange settings: find out whether the provider exposes
sshd.kexor an equivalent setting, and whether it supports the ML-KEM methods defined in RFC 10042. - Keep your clients informed: tell developers that the warning on this host depends on the provider's build, and that the client-side workaround only hides it.
- Record the answers: keep the provider's responses with the dates they were given, since the Wikimedia report and the repo-discuss thread show the question is still open for some operators.
Do not treat a provider's silence as confirmation that the fix is deployed. Ask for the version in writing.
How do you confirm the Gerrit warning has stopped?
The check that matters is what the connection actually negotiates, not whether the message disappears from one terminal. Run ssh -v against the Gerrit host, replacing the host name with your own server, and read the line that begins kex: algorithm:. The negotiated method should be a post-quantum hybrid such as mlkem768x25519-sha256 or sntrup761x25519-sha512. If the line names a classical method only, the server is still offering one, and the warning will keep appearing for that connection. Run the same check for clone, fetch and push, because the warning is printed by the client on any connection that negotiates a non-post-quantum method, and a successful clone alone does not show which key exchange was used.
After the Gerrit server has been upgraded or restarted with its new configuration, watch the Gerrit error log while a developer repeats a clone, fetch and push. The post-quantum warning comes from the OpenSSH client, so the server log will not print it, but the log will show any errors in the key exchange step if a configured method fails to load. Also confirm that the warning no longer appears in the client output itself. Do not treat a quiet terminal as proof. A developer who has set WarnWeakCrypto no-pq-kex for the host in ~/.ssh/config will see no warning even when the negotiated method is still classical. The WarnWeakCrypto setting only hides the message and does not change the negotiated algorithm, so it should not be counted as a fix. Record the kex: algorithm: output from ssh -v as the evidence of the change.
If the negotiated method is still classical after you have changed the server, first confirm that the running Gerrit build is one that includes the Apache MINA SSHD release with ML-KEM hybrid support. The sources on this page report that Gerrit 3.11.x with the older SSHD build did not accept the sshd.kex change, and that the Gerrit 3.12.x line lists an SSHD update to 2.15.0 among its changes. Check the version your server reports and the release notes for the build you run, and ask your Gerrit support channel or repository maintainers to confirm the dependency version if the documentation does not state it. Keep the evidence from each check with the change record so reviewers can see the before and after results.
What can break when Gerrit SSH is upgraded or reconfigured
Changing the Gerrit SSH key exchange list or moving to a newer Gerrit build can affect clients, scripts and access rules that depend on the current setup. The cards below cover the places where a change is most likely to cause an outage or a surprise, and what to test before a production rollout.
Older clients and pinned algorithms
Some clients and automation pin a short list of key exchange algorithms in their SSH configuration. If the Gerrit host stops offering one of those algorithms, the connection fails during negotiation rather than showing the warning. Before changing sshd.kex, list the algorithms your client and automation accept, and test a clone and a push from each client type you support. Do not assume that a newer OpenSSH client will be used everywhere, because build agents and developer machines often run older versions.
CI runners and scripts that parse SSH output
Build pipelines and scripts sometimes parse the text that SSH prints, including the banner, verbose output or the warning itself. The OpenSSH warning is printed to the client's standard error stream, so a job that treats any stderr output as failure can start failing after clients begin showing it. Search your pipeline definitions and scripts for checks on SSH output, and run a representative job on a test runner before changing the Gerrit server.
Host key and known_hosts changes
A change to the Gerrit host or its SSH daemon can alter the host key that clients see. Clients that already trust the old key will reject the new one unless the operator confirms the change or the known_hosts entry is updated. Confirm with the Gerrit team which host keys will be presented after the change, and plan how developers and CI runners will receive the updated keys. Do not remove host verification to get past a mismatch.
Compliance and FIPS-mode restrictions
Some sites run SSH daemons in a FIPS-mode or compliance-restricted configuration that limits the algorithms the server may offer. Gerrit's documentation describes the sshd.kex list and a deprecated-algorithm switch that is off by default, but it does not describe post-quantum algorithms. Before adding a key exchange method, confirm with your compliance owner whether the underlying SSH library and the platform's crypto provider permit it, and test the change in a staging environment that matches the production crypto settings.
Dependency and version changes
Moving to a newer Gerrit release also updates bundled dependencies, including the Apache MINA SSHD library. The Gerrit 3.12 release page lists an update to mina-sshd 2.15.0 among its changes. A version change can alter default algorithm lists, authentication behavior and logging, so review the release notes and compare the negotiated algorithm and login behavior before and after the upgrade.
Gerrit 3.12 release pageWhen should a Gerrit operator get outside help with this warning?
Get outside help when the fix cannot be made by the operator's own team, and the most common blocker is that the Gerrit server cannot be upgraded to a 3.12.x release. The sources show that the warning is not resolved by configuration alone on the Gerrit versions tested. A November 2025 repo-discuss report found that Gerrit 3.11.7, which uses Apache MINA sshd 2.14.0, still showed the warning after kex = +sntrup761x25519-sha512 was added under [sshd] in gerrit.config. The Gerrit 3.12.x release page lists the update to mina-sshd 2.15.0, the release that adds ML-KEM hybrid key exchanges. An operator who must stay on an older line should confirm the upgrade path with an engineer before treating configuration as a complete fix, and should plan for a longer change window if a major upgrade is needed.
Outside help is also worth considering when many hosts or users are affected, because the only client-side workaround in the sources, WarnWeakCrypto no-pq-kex in ~/.ssh/config, hides the warning for each client separately and does not change what the server offers. The sources do not record a Gerrit maintainer response to the upstream issue report numbered 460165740, so do not assume a fix will arrive without an upgrade. A partner can help scope which clients connect, which hosts they reach, and whether a rollout of the server upgrade will reach all of them at once.
A third-party-hosted Gerrit instance, or a regulated environment that must show documented evidence of the change, is another reason to bring in help. In a hosted setup, the operator may not control the Gerrit version or the gerrit.config file, so the change has to be requested from the provider, and the reader should confirm what the provider has published about its version and key exchange support. In a regulated environment, the team should record the server version before and after the change, the output of ssh -v against the Gerrit host showing the negotiated algorithm, and the configuration used. Confirm with the assessor which evidence they require, since the sources do not set a standard for that evidence.
What do Gerrit users and operators ask after seeing this warning?
Is the connection still encrypted when the warning appears?
Yes. The warning is about the key exchange algorithm the connection negotiated, not about whether traffic is encrypted. The OpenSSH client shows it when the server offered no post-quantum key exchange, and the session can still be encrypted with a traditional algorithm. The warning says this session may be vulnerable to "store now, decrypt later" attacks, meaning that recorded traffic could be decrypted in the future by an attacker with a quantum computer. The OpenSSH PQ page explains that the fix is on the server side, so the operator should check what Gerrit offers, not stop using the connection. Confirm the negotiated algorithm with ssh -v against your Gerrit host, as described in the topic steps.
Is the Gerrit SSH warning urgent for my team?
The sources do not set a deadline for this, and they do not say the warning means a connection is broken. The warning flags a long-term risk for data sent over the connection, so its urgency depends on how sensitive the data in those sessions is and how long it must stay confidential. Teams that move source code or secrets over Gerrit SSH should treat it as a planning item, check which server version they run, and track whether upgrading or configuring the key exchange is feasible. Any deadline set by a regulator or contract is outside the sources on this page and should be confirmed with your compliance owner.
Can I silence the Gerrit SSH warning, and what does that change?
You can hide it on your own machine, but that does not change the server. The ssh_config manual says the warning can be disabled with the no-pq-kex flag of WarnWeakCrypto, and the OpenSSH PQ page shows a Match host block with WarnWeakCrypto no-pq-kex for a single host. This only suppresses the client message for that host and leaves the key exchange the server offers unchanged. The Wikimedia task describes the same workaround and notes it only hides the warning. Silencing it should not be treated as a fix, and a team that silences it should record that the server still offers no post-quantum key exchange.
Why does the Gerrit SSH warning appear now?
The warning is new to the client, not to Gerrit. OpenSSH 10.1 added the client warning, and the release notes say it defaults to on, so clients that already offer post-quantum key exchange show the warning when a server does not offer one. OpenSSH has offered post-quantum key agreement by default since 9.0, and 9.9 added mlkem768x25519-sha256, which became the default in 10.0. A server that still offers only traditional algorithms therefore triggers the warning on a current client. The Gerrit repo-discuss report says an OpenSSH 10.2p1 client showed the warning against Gerrit 3.11.7.
What should I do if my Gerrit server cannot be upgraded?
The sources describe options but do not give a complete procedure for a server that cannot move. The Gerrit configuration documentation says sshd.kex lists the available key exchange algorithms and that by default all supported ones are available, so the operator can check what the running build accepts. The repo-discuss report says that adding kex = +sntrup761x25519-sha512 under [sshd] in gerrit.config did not work for that version, and no maintainer response is recorded. Where a server cannot be upgraded, the sources point to isolating access and treating the warning as an accepted risk to document, and the decision should be made with the people who own the risk.
Do the Gerrit 3.11.11 and 3.12 reports apply to my version?
The sources give version evidence for two releases and nothing more. A Wikimedia operator report, which is not a Gerrit statement, says the warning still appeared on Gerrit 3.11.11 in November 2026 and that a contributor confirmed it goes away on Gerrit 3.12. The Gerrit 3.12 release page lists an update to mina-sshd 2.15.0, and the MINA SSHD 2.15.0 changes include ML-KEM hybrid key exchange support. The sources do not record a Gerrit release that is confirmed to offer a post-quantum key exchange by default, so confirm your exact version with ssh -Q kex and the negotiated algorithm check.
How do I check whether my Gerrit connection uses a post-quantum key exchange?
Run the check from the client against the Gerrit host, since the warning describes the negotiated connection. The GitHub post gives the pattern ssh -v with the host name replaced by the server being tested, filtered to the line showing kex: algorithm:, and ssh -Q kex lists the algorithms the client supports. If the negotiated algorithm is not one of the mlkem or sntrup names defined for post-quantum use, the server did not offer one that the client accepted. The RFC 10042 names, such as mlkem768x25519-sha256, are the ones to look for. Record the server version alongside the result so the check can be repeated after an upgrade.
Who should own the Gerrit SSH warning on our team?
The site operator who runs the Gerrit server owns the fix, because the key exchange is set on the server and the warning describes what the server offered. Client users can check their own connections and decide whether to silence the warning, but that is a local choice that changes nothing for other users. Security or compliance owners should decide whether the remaining risk is acceptable, particularly where upgrade is not possible. The sources do not name any staff role or budget, so assign ownership inside your organization and record who accepted the risk.
How DeployOpen works on this
DeployOpen starts by reading the Gerrit version, the sshd settings in gerrit.config and the client that shows the warning, so the fix matches what your site actually offers. The work covers scoping, the configuration and upgrade change, testing and handover, with ongoing support available as a retainer.
How we scope
- We confirm the running Gerrit version, the Apache MINA sshd version it ships, and the sshd.kex setting in gerrit.config.
- We record which clients report the warning and whether sshd.enableDeprecatedKexAlgorithms is set, so the scope reflects real traffic.
- Engagements are fixed-scope, and the written scope states the Gerrit upgrade, configuration and testing work included.
How we build
- We test whether a post-quantum key exchange is offered on your server, using the client check from the GitHub post on your own host.
- We plan the Gerrit upgrade path and the sshd.kex change, and test each change in a staging instance before production.
- We avoid relying on a client-side workaround such as WarnWeakCrypto=no-pq-kex, since it only hides the warning and does not change what the server offers.
How we hand over
- You receive written documentation of the Gerrit version, sshd.kex values and the negotiated algorithm observed after each change.
- The handover records the exact commands used to confirm the negotiated key exchange, so your team can repeat the check.
- We list any clients still showing the warning and the reason, such as an older OpenSSH build, so your team can act on them.
How we support
- Ongoing support covers Gerrit upgrades, dependency changes and re-testing of the key exchange after each release.
- Continuous testing is available as a retainer, so changes to sshd settings are checked as they happen.
- Ask for a quote based on the written scope, which states the upgrade, configuration and retest work included.

