Fix the SSH post-quantum key exchange warning on self-managed GitLab

When developers see the OpenSSH 10.1 warning on clone, fetch or push, the server side of a self-managed GitLab instance is the only place the cause can be removed. This page covers how to check the Git SSH server, change its key exchange settings and confirm the warning stops.

On this page

What the SSH post-quantum key exchange warning means on self-managed GitLab

On a self-managed GitLab instance, the three-line OpenSSH 10.1 warning appears during clone, fetch or push, and it comes from the developer's client, not from GitLab. It means the SSH key exchange on that connection did not use a post-quantum algorithm. Every user whose OpenSSH is 10.1 or later sees it when the server does not negotiate one, and only the server can remove the cause. That makes the instance operator the person who has to act, even though the developer who sees the message changes nothing on the server. Adding WarnWeakCrypto no-pq-kex to a local ssh_config only hides the message and leaves the negotiated key exchange unchanged. The OpenSSH post-quantum page explains the server side of the fix.

The session is still encrypted while the warning is shown. What the warning flags is the store now, decrypt later risk: a recording of today's traffic could be read later by someone able to break the key exchange. How urgent that is depends on how long the transferred data must stay confidential. Public source code carries a different risk from repositories that hold credentials, customer records or regulated data in their history. Before you set a date, ask the data owners and the security team to classify the repositories on your instance, and record who owns that decision so the change has an accountable owner. The warning alone does not show that anything has been compromised.

The fix is a server change, planned like any other upgrade. First, confirm which SSH server answers Git over SSH on your instance: the system OpenSSH daemon, or gitlab-sshd, which GitLab Shell can run instead. On Linux package installs, gitlab-sshd is enabled with gitlab_sshd['enable'] = true and gitlab_sshd['listen_address'] in /etc/gitlab/gitlab.rb, followed by sudo gitlab-ctl reconfigure. On Helm, the setting is gitlab.gitlab-shell.sshDaemon. Then run ssh-audit <hostname> -p <port> against the instance and confirm that a post-quantum key exchange appears in the offered list. After the change, repeat a clone or fetch from an OpenSSH 10.1 client and confirm the three lines no longer appear. Schedule the change in a maintenance window with a rollback plan, as you would for any server change.

Who has to act on the SSH post-quantum key exchange warning on GitLab

The warning is printed by the OpenSSH client, so every developer on OpenSSH 10.1 or later sees it when a self-managed GitLab server does not negotiate a post-quantum key exchange. Only the instance operator can remove the cause, so the work is split across the people who run the server, the people who deploy it, the people who use it and the people who own the risk decision.

Instance operator changes the server

You own /etc/gitlab/gitlab.rb or the Helm values, along with the SSH server and OS packages, so the fix sits with you. First confirm which daemon serves Git over SSH: the system OpenSSH daemon, usually configured in /etc/ssh/sshd_config, or gitlab-sshd. Then run ssh-audit <hostname> -p <port> against the live endpoint to see which key exchange algorithms it offers. If no post-quantum algorithm appears, plan the change and test it in staging before production.

gitlab-sshd docs

Platform team sets chart values

If GitLab runs on Helm, the platform team owns gitlab.gitlab-shell.sshDaemon, which defaults to openssh and also accepts gitlab-sshd. The kexAlgorithms option under gitlab.gitlab-shell.config has no listed default beyond what Go's SSH library supports, and the chart page does not mention post-quantum or ML-KEM, so set the list explicitly if you need a specific one. Render the values and run ssh-audit after every chart upgrade, because GitLab changes the default algorithms when it updates its SSH library dependency.

GitLab Shell chart docs

Developers see the warning

If your OpenSSH is 10.1 or later, you see the warning on clone, fetch and push to a self-managed instance that does not negotiate a post-quantum key exchange. Your client settings do not remove its cause, and you cannot change the server. As a temporary step, you can silence only the post-quantum part for that host in ssh_config, for example with Match host git.example.com followed by WarnWeakCrypto no-pq-kex. This accepts the risk, so send the host name to your instance operator.

ssh_config manual

Security or compliance lead decides urgency

You decide how urgent the change is for each instance, and you need evidence that it was made. Ask the operator for the ssh-audit output from before and after the change, the gitlab.rb or Helm values diff, and the OpenSSH or gitlab-sshd version in use. Keep a list of hosts where developers still carry a per-host silence, and assign each one an owner and a review date. Ask for the audit output, not a statement that the warning is gone.

OpenSSH PQ page

GitLab Inc. tracks the open issue

GitLab Inc. maintains gitlab-sshd, the Go SSH server that can replace the system OpenSSH daemon for Git over SSH. Issue 568265 reports that its Go SSH library supports mlkem768x25519 only when built with Go 1.24 or later and only when manually enabled, and it asks GitLab to consider enabling it by default. As of this writing, the issue shows no GitLab reply, status or fix. Do not wait for a default change: set the key exchange list in your own configuration and verify it.

Issue 568265

How to check which SSH server answers Git traffic on your instance

This sequence establishes which SSH server answers Git traffic on a self-managed GitLab instance, and what that server offers for key exchange. The record it produces lists the daemon, its version, the key exchange algorithms it offers and the client result, which you need before changing any setting. Work through the steps in order, since each one decides the next.

  1. Identify the daemon that serves Git over SSH

    Find out whether gitlab-sshd or the system OpenSSH daemon serves Git over SSH. On a Linux package install, open /etc/gitlab/gitlab.rb and check gitlab_sshd['enable']: a value of true means gitlab-sshd answers. On Helm, check gitlab.gitlab-shell.sshDaemon, which the chart documents as openssh by default, with gitlab-sshd as the other allowed value. If the setting is absent on a Linux package install, confirm the default in the GitLab documentation. Done when you can name one daemon and the setting that selects it.

  2. Check the installed OpenSSH server version

    Only if OpenSSH serves the connection, find its version with your distribution's package tooling. Look up the exact query command in the documentation for your distribution, and run it on the GitLab host itself. Compare the result with the OpenSSH post-quantum page: servers from 9.0 support sntrup761x25519-sha512, and servers from 9.9 support mlkem768x25519-sha256. Distribution packages listed as of December 2026 vary, for example Ubuntu 24.04 ships 9.6p1, which predates 9.9, but your host may differ. Done when you have the exact version string for that host.

  3. List offered key exchange algorithms with ssh-audit

    Run ssh-audit against the instance hostname and SSH port, using ssh-audit <hostname> -p <port> with your own values. GitLab uses this check in its gitlab-sshd documentation, and it lists the key exchange algorithms the server offers. Look for sntrup761x25519-sha512 or mlkem768x25519-sha256 in that list. Save the full output with the hostname, port and date. If neither post-quantum algorithm appears, the server offers no post-quantum key exchange, and that is the condition the client warning reports. Done when the full output is saved with those details.

  4. Check KexAlgorithms in sshd_config

    Only if OpenSSH serves the connection, open /etc/ssh/sshd_config on the GitLab host, which is the usual location, and search for a KexAlgorithms line. Check any files the main configuration includes, following your distribution's documentation. If a line exists, check whether it removes sntrup761x25519-sha512 or mlkem768x25519-sha256 from the list. If no line exists, the server uses its built-in defaults for its version. Make no change yet. Done when you know whether the line is set, its value and whether it excludes either post-quantum algorithm.

  5. Check gitlab-sshd key exchange settings

    Only if gitlab-sshd serves the connection, check for an explicit key exchange setting. On a Linux package install, look for gitlab_sshd['kex_algorithms'] in /etc/gitlab/gitlab.rb. On Helm, look for gitlab.gitlab-shell.config.kexAlgorithms. A setting replaces the whole default list, so include every algorithm you need. An empty setting uses the defaults of the Go SSH library GitLab Shell is built against, which change with GitLab updates and include SHA-1 algorithms. Unrecognized names are dropped silently, so verify with ssh-audit after any change. Done when you know whether the setting is explicit and what it contains.

  6. Reproduce the warning with OpenSSH 10.1

    From a client running OpenSSH 10.1, connect to a Git repository on the instance over SSH, for example with a clone of a test repository you can reach. Look for the three-line warning that begins with the connection is not using a post-quantum key exchange algorithm. Leave WarnWeakCrypto at its default, because the no-pq-kex flag would hide the message you are checking. Record the client version, the server daemon and its version, and the ssh-audit output together with the date. Done when the record shows whether the warning appeared for this server.

Which settings decide whether the server offers a post-quantum key exchange

This decision path starts at the client warning and asks which server answers the connection. For OpenSSH, check the version: 9.0 or later offers sntrup761x25519-sha512, and 9.9 or later offers mlkem768x25519-sha256. Then check whether a KexAlgorithms line removes those names. For gitlab-sshd, check whether kex_algorithms or kexAlgorithms is set explicitly, and whether the build in use offers mlkem768x25519-sha256. Unrecognized names are dropped silently, so every path ends at an ssh-audit check. The diagram shows decision logic, not the status of every build.

Decision path from the warning to an ssh-audit check.

What to change on self-managed GitLab, in order

This sequence identifies which SSH server answers Git over SSH on each self-managed GitLab instance, then changes that server so it offers a post-quantum key exchange method. It ends with checks that the method is offered and that the client warning stops appearing before developers see the change.

  1. Identify the SSH server on each instance

    List every self-managed GitLab instance and record which daemon handles Git over SSH on it: gitlab-sshd or the system OpenSSH server. On a Linux package install, gitlab-sshd runs only where gitlab_sshd['enable'] is set to true in /etc/gitlab/gitlab.rb, so check that setting first. On Helm, read gitlab.gitlab-shell.sshDaemon, because the chart default is openssh. Note the hostname and port each instance uses for Git over SSH. This step is done when every instance has one named server and a host and port you can test.

  2. Record the current key exchange offer

    From a machine outside the instance, run ssh-audit <hostname> -p <port> against each host and port, using the form GitLab documents. Save the output with the date. Look for mlkem768x25519-sha256 and sntrup761x25519-sha512 in the key exchange list, and note which methods are missing. The OpenSSH page advises checking whether a KexAlgorithms setting disables these methods on a server that already supports them. This step is done when you have a saved baseline for each instance to compare against after the change.

  3. Upgrade the OpenSSH server package

    If an instance uses the system OpenSSH daemon, upgrade openssh-server through the distribution's supported upgrade path. Current package listings show Ubuntu 26.04 at 10.2p1, Debian trixie at 10.0p1, Ubuntu 24.04 at 9.6p1, Ubuntu 22.04 at 8.9p1 and Debian bookworm at 9.2p1. OpenSSH 9.0 and later support sntrup761x25519-sha512, and 9.9 and later support mlkem768x25519-sha256. Ubuntu 22.04 predates both, and Debian bookworm and Ubuntu 24.04 predate the ML-KEM method. Confirm the installed version with your package manager after the upgrade.

  4. Set the DEFAULT:PQ policy on RHEL

    This step applies only to RHEL hosts that run the system OpenSSH daemon. Red Hat states that RHEL 10 ships OpenSSH 9.9, which includes mlkem768x25519-sha256. On RHEL 9.7 and later, hybrid post-quantum key exchange is enabled through the DEFAULT:PQ crypto policy, so set that policy as Red Hat documents for your release. Red Hat's page does not name the OpenSSH version shipped with RHEL 9, so confirm it with your package manager. This step is done when the policy is set and the host's key exchange list includes the hybrid method.

  5. Remove or widen KexAlgorithms restrictions

    On the system OpenSSH daemon, open sshd_config (usually /etc/ssh/sshd_config, as GitLab's documentation notes) and look for any KexAlgorithms line. That line replaces the server's default list, so remove it or add mlkem768x25519-sha256 along with the classical methods you need. Check included files and Match blocks too, since they can carry their own setting. Reload the sshd service with your init system. This step is done when the service reloads without errors and the restriction is gone from the effective configuration.

  6. Set gitlab-sshd key exchange on Linux package

    On a Linux package install that runs gitlab-sshd, open /etc/gitlab/gitlab.rb and set gitlab_sshd['kex_algorithms'] to a list that starts with mlkem768x25519-sha256, followed by the classical methods GitLab lists in its documentation. A setting replaces the default list for that type, so include every method you want to keep. Unrecognized names are dropped silently, so do not assume the entry took effect. Run sudo gitlab-ctl reconfigure. This step is done when the command completes without errors.

  7. Set Helm values and upgrade the release

    On Helm, set gitlab.gitlab-shell.sshDaemon to gitlab-sshd if the instance is moving off the openssh default. Then set gitlab.gitlab-shell.config.kexAlgorithms to the same list used on Linux packages, starting with mlkem768x25519-sha256. The chart page lists no default beyond the algorithms Go's SSH library supports and does not mention post-quantum methods, so the list you set is what the server offers. Upgrade the release with your usual Helm workflow. This step is done when the rendered values match your change and the GitLab Shell pods run the new configuration.

  8. Verify with ssh-audit before rollout

    Re-run ssh-audit against every instance and compare the key exchange list with the baseline you saved earlier. Confirm that mlkem768x25519-sha256 appears and that the classical methods you kept are still offered. A GitLab issue reports that the Go SSH library offers the ML-KEM method only in builds with Go 1.24 or later and only when enabled manually, so a missing entry means the change did not take effect. Then connect with an OpenSSH 10.1 or later client and confirm the warning no longer appears. Roll out to developers only after both checks pass.

How the fix differs for Linux package, Helm and other installs

With the Linux package using the system OpenSSH daemon, the key exchange is set by the OpenSSH server on the host. Running sudo gitlab-ctl reconfigure does not change OpenSSH, so the fix happens in /etc/ssh/sshd_config and in the operating system's OpenSSH package. The OpenSSH post-quantum page names upgrading the server as the ideal fix.

  • Confirm the OpenSSH version: check the installed openssh-server package with your distribution's package tools. Servers from 9.0 offer sntrup761x25519-sha512, and servers from 9.9 offer mlkem768x25519-sha256.
  • Compare with distribution versions: as of December 2026, Ubuntu 22.04 ships 8.9p1, Ubuntu 24.04 ships 9.6p1 and Debian bookworm ships 9.2p1. These predate mlkem768x25519-sha256.
  • Upgrade the OS package: move to a release or update channel that ships a newer OpenSSH, then restart the SSH service.
  • Review KexAlgorithms: if a KexAlgorithms line in /etc/ssh/sshd_config removes post-quantum options, correct it according to the OpenSSH documentation.
  • Keep a session open: test sshd_config changes from a second session before closing the first, so a bad edit does not lock out administrators.

After the change, run ssh-audit <hostname> -p <port> against the GitLab SSH endpoint and confirm the server offers a post-quantum algorithm.

How to confirm the SSH post-quantum key exchange warning has stopped on GitLab

Confirm the fix in three places: the server's offered key exchange list, a live client session, and the server logs. Start with the list. Run ssh-audit <hostname> -p <port> against the host and port that developers use for Git over SSH, and look in the key exchange section for mlkem768x25519-sha256 or sntrup761x25519-sha512. The GitLab gitlab-sshd documentation recommends this check because an unrecognized name in kex_algorithms is silently dropped. A misspelled entry produces no error and simply leaves the post-quantum name out. If no post-quantum name appears, the server is not offering one, and the client warning will continue for every user whose OpenSSH is 10.1 or later.

Next, repeat git clone, git fetch and git push against a test project using an OpenSSH 10.1 client, and confirm that none of the three warning lines appear. The warning is raised by the client, so it stops only when the negotiated key agreement changes on the server side. Rerunning the commands without a server change will not clear it. Do not set WarnWeakCrypto no-pq-kex in the test client's configuration to quiet the output, because that hides the result you are checking. Then test with the older clients your teams still use, such as CI runners, build images and workstations on older releases. Removing a classical algorithm can break a client that offers only classical options. Record each failure, the client version and the algorithms it offers, and decide with your security owner how to handle it before the change reaches production.

Then watch the server logs over normal use, because clients that still negotiate classical key agreement will appear there. OpenSSH 10.6, released 2026-10-06, adds a server-side WarnWeakCrypto option in sshd_config, on by default, that logs when a client uses a key agreement scheme without post-quantum support. That option was client-only before this release, so it applies only if your Git-over-SSH path runs the system OpenSSH daemon at 10.6 or later. Check the OpenSSH 10.6 release notes for the exact behavior. The facts supplied for this page do not say whether gitlab-sshd offers equivalent logging, so confirm that in the GitLab documentation for your version. Keep the log findings in your change record, and use the clients they identify as the input for the next round of testing.

What can break when you change the key exchange list

Changing the key exchange list on self-managed GitLab only changes which algorithms the SSH server offers. Check the clients, scripts and policies that depend on the current list first, because a server-side change does not reach them. The change does not alter host keys or certificates, so known-hosts entries and certificate trust stay as they are.

Older clients and automation

Some clients and automation accounts offer only classical key exchange algorithms. After the server list changes, they can fail to connect or keep reporting the warning until they are upgraded. Inventory every tool, service account and integration that connects to the instance over SSH, and record the OpenSSH version or SSH library each one uses. Confirm each one negotiates an exchange the new list still offers before you remove any algorithm from the server.

CI runners and pinned settings

CI runners, build images and deploy scripts often pin SSH client settings in a file or a job variable, so a server fix will not show up in them until those pins are checked. OpenSSH 10.1 added the client warning, and its WarnWeakCrypto option is on by default, so pipeline logs can start showing the three-line warning. Search repositories and runner images for ssh_config, KexAlgorithms and WarnWeakCrypto, then rebuild any image that carries them.

OpenSSH 10.1 notes

Client-side KexAlgorithms overrides

A KexAlgorithms line in a user's ~/.ssh/config, a team snippet or a system-wide client file overrides what that client offers, and the server change cannot reach it. A client list that omits a post-quantum algorithm keeps that connection on a classical exchange even when GitLab offers one. Review these files on developer workstations and jump hosts, and read the OpenSSH ssh_config manual for the exact syntax before editing. A per-host WarnWeakCrypto no-pq-kex line hides the warning without changing the exchange, so use it only as a documented, accepted risk.

ssh_config manual

FIPS and crypto policy checks

FIPS mode and compliance-mode crypto policies can restrict which key exchange algorithms a server may use, so a list that names a blocked algorithm may not take effect. On RHEL 9.7 and later, hybrid post-quantum key exchange is opt-in through the DEFAULT:PQ crypto policy, and Red Hat's page does not name the OpenSSH version shipped with RHEL 9. Ask your compliance owner for the active policy and FIPS state, and get the change approved in writing before you edit the list.

Red Hat PQC page

Silently dropped algorithm names

GitLab documents that an unrecognized algorithm name in the key exchange setting is silently dropped, so a typo or a name your gitlab-sshd build does not know produces no error and no change. The setting also replaces the default list for that type, so any algorithm you leave out is no longer offered. Run ssh-audit <hostname> -p <port> against the live service after each reconfigure, and confirm the output lists the algorithms you set.

gitlab-sshd docs

Whether gitlab-sshd offers ML-KEM

The GitLab documentation does not confirm whether a given gitlab-sshd build offers mlkem768x25519-sha256. A GitLab issue filed before the 10.1 release says the Go SSH library supports that algorithm only in builds made with Go 1.24 or later, and only when it is enabled manually. The issue showed no GitLab reply, status or fix at review time. Confirm the algorithm with ssh-audit on your own build before you rely on it.

GitLab issue 568265

When to get outside help with the SSH warning on your GitLab instance

Get outside help when the fix cannot go through your normal maintenance process, most often because the operating system release cannot reach a supported OpenSSH version. If Git over SSH runs through the system OpenSSH daemon, the server needs a version that offers a post-quantum key exchange. OpenSSH servers from 9.0 offer sntrup761x25519-sha512, and from 9.9 they offer mlkem768x25519-sha256. The distribution versions reported for December 2026 include Ubuntu 22.04 with 8.9p1 and Ubuntu 24.04 with 9.6p1, both older than 9.9. Moving those hosts to a newer OpenSSH may require a rebuild, a reinstall or an OS upgrade, and that choice belongs in a plan with your platform team. Confirm the installed package version with your distribution's package tools before you decide.

Ask for help when the same change must land on many instances or hosts, or when a regulated environment needs proof of what changed. Fleets built from one template often share one gitlab.rb or one OpenSSH configuration, so a single error repeats everywhere. For a regulated environment, keep a change record that names each instance, the gitlab-sshd or OpenSSH version, the key exchange setting you changed, the test date and the rollback step. Run ssh-audit <hostname> -p <port> against each instance before and after the change, and keep both outputs with the record. GitLab notes that unrecognized algorithm names are silently dropped, so a setting that looks correct can leave the warning in place, and the saved output shows whether it did.

Get a written answer from GitLab Inc. when you cannot tell which SSH server answers on your instance. On Linux package installs, check gitlab_sshd['enable'] in /etc/gitlab/gitlab.rb. On Helm, check gitlab.gitlab-shell.sshDaemon. Either setting shows whether gitlab-sshd or the system OpenSSH daemon is in use. If you run gitlab-sshd, its default algorithms follow the Go SSH library version your release is built against, and GitLab says those defaults change with dependency updates. Ask in writing which key exchange algorithms your version offers by default, whether mlkem768x25519-sha256 is among them, which default changes came with GitLab 18.3 and 18.4, and whether issue 568265 has a planned fix. That issue showed no GitLab reply or fix when this page was written, so do not plan around it. Keep the written answers with your change record.

Questions operators ask after the GitLab SSH warning appears

Is my GitLab SSH connection still encrypted when the post-quantum warning appears?

Yes. The warning concerns the key exchange, the step that sets up the session keys. The session is still encrypted, but the key exchange this connection negotiated is classical, which is what the warning reports. The three lines OpenSSH 10.1 and later print say the session may be vulnerable to "store now, decrypt later" attacks, meaning recorded traffic could be decrypted in the future. The warning does not report a failed login or a broken session. To remove it, the server must offer a post-quantum key exchange algorithm, and the steps for that are in this topic.

Is the GitLab SSH post-quantum warning urgent for my organization?

It depends on how long the data sent over these SSH sessions must stay confidential. The lead for the system or data owner should decide that from the data's own requirements. Public code and private code holding regulated data carry different exposure, so the review should cover what is pushed, how long it is kept and who can read it. Treat the warning as planned work with a named owner, a change window and a verification step. Do not treat it as an incident unless your own assessment finds that the data needs longer confidentiality than the current key exchange provides.

Can I ignore or silence the SSH post-quantum warning on GitLab?

You can silence it on a client, but that is a temporary measure that accepts the risk, and the server change is the fix. OpenSSH 10.1 and later support a per-host setting in ssh_config. A block that starts with Match host unsafe.example.com and contains WarnWeakCrypto no-pq-kex disables only the post-quantum key exchange warning for that host. OpenSSH notes that this accepts the risk of quantum-unsafe cryptography. As the operator, you cannot set this on your users' machines, and silencing on the client does not change what GitLab offers. Ignoring the warning leaves it in place for every developer running OpenSSH 10.1 or later.

Why does the GitLab SSH post-quantum warning appear now?

The warning comes from the client. OpenSSH 10.1p1, released 2025-10-06, added the warning for non-post-quantum key agreement and a WarnWeakCrypto option that is on by default. It appears for each user whose OpenSSH is 10.1 or later and who connects to a server that does not negotiate a post-quantum algorithm. Only the server operator can remove the cause, by offering a post-quantum key exchange algorithm. OpenSSH 10.6 later added a server-side WarnWeakCrypto option in sshd_config, on by default, that logs when a client uses a non-post-quantum key agreement. That option applies to the OpenSSH daemon, so check your logs if you run it.

What should I do if the GitLab server cannot be upgraded?

Isolate the system or plan the upgrade, and get help if the plan is unclear. The OpenSSH PQ page says the ideal fix is a server on an SSH implementation that supports at least one post-quantum key exchange. OpenSSH servers from 9.0 support sntrup761x25519-sha512, and from 9.9 they support mlkem768x25519-sha256. Check the packaged version on your GitLab host first. As of December 2026 package listings, Ubuntu 22.04 ships 8.9p1 and Ubuntu 24.04 ships 9.6p1, and neither meets those thresholds. For Git over SSH, GitLab's gitlab-sshd can run in place of the system daemon, and gitlab_sshd['kex_algorithms'] in /etc/gitlab/gitlab.rb sets the key exchange list. Verify the result with ssh-audit, because unrecognized names are silently dropped. Record the exception with an owner and a review date.

Should my team get outside help with the GitLab SSH warning?

Get outside help when your team cannot make and verify the server change inside its own change process. The deciding factors are who owns the Linux package or Helm values, whether the instance is isolated, and whether someone can run the verification after the change. DeployOpen plans, implements, hardens, upgrades and documents self-hosted open-source platforms inside your own infrastructure, including cloud accounts, data centers and air-gapped networks. Most engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts. DeployOpen does not publish a price list, and a quote follows from the written scope. DeployOpen is not a GitLab partner or reseller. Ask any provider for a written scope that names the GitLab version, install method, server change, verification step and sign-off.

Do host keys or certificates change when I fix the GitLab SSH warning?

No. This fix concerns the key exchange, which sets up the session keys for a connection. Host keys and certificates identify the server to clients, and changing the key exchange list in gitlab-sshd or the OpenSSH server configuration does not, by itself, replace them. Clients that already recorded your server's host key should keep working, and users should not see a host key change prompt from this fix. Confirm this in your own environment by comparing the host key fingerprints before and after the change. If your change process also replaces host keys or certificates for another reason, treat that as a separate change with its own review.

How DeployOpen helps with the SSH warning on your GitLab instance

DeployOpen approaches this warning as a scoped piece of work inside your own infrastructure. The first step is confirming which SSH component serves Git traffic on your instance, whether the system OpenSSH daemon or gitlab-sshd, and which key exchange algorithms it offers today. Changes are then built, tested, documented and handed over under a written scope.

How we scope

  • The written scope names your GitLab version, install method (Linux package or Helm) and the SSH daemon in use.
  • We record which key exchange algorithms your server offers, using ssh-audit against the instance before any change.
  • Engagements are fixed-scope, and ongoing support is available as a retainer once the change is in place.

How we build

  • We set the gitlab-sshd or OpenSSH configuration in your environment, including kex_algorithms or KexAlgorithms where needed.
  • We upgrade the SSH component when the installed package or GitLab version cannot offer a post-quantum algorithm.
  • We run security tests on the changed SSH service, so the hardening is checked against your access controls.

How we hand over

  • You receive written documentation of the before and after algorithm lists, configuration changes and rollback steps.
  • A retest checks ssh-audit output and a clone from an OpenSSH 10.1 or later client.
  • Your team receives the change record, so later upgrades start from a documented baseline.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers after the fixed-scope work ends.
  • GitLab can change default key exchange lists on dependency updates, so SSH settings should be re-checked each upgrade.
  • Ask your DeployOpen contact to confirm the scope covers future GitLab upgrades before you sign.

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.