What the post-quantum warning means in Git for Windows
The warning you see during git clone, git fetch or git push comes from the OpenSSH client that ships inside Git for Windows. When the server and client negotiate a key exchange that does not use a post-quantum algorithm, the bundled ssh prints a notice. The Git for Windows release notes list the bundled OpenSSH as v10.3.P1 in v2.53.0(3), v10.5.P1 in v2.55.0(4) and v10.6.P1 in v2.56.0(2). Releases after that, up to v2.56.1(2), do not list another OpenSSH change. Because the bundled build is later than OpenSSH 10.1, it prints the warning by default. Run ssh -V in Git Bash to confirm which OpenSSH build your installation is using.
The connection is still encrypted. The warning reports that the key agreement does not use a post-quantum algorithm, which is a statement about the key exchange, not a failure of the session. It does not mean the transfer is unprotected, and it does not, by itself, require you to stop work. Whether it is urgent depends on your organization's policy and on what the remote host requires, so confirm that with your security team rather than assuming either way.
Two parties can act. On your machine, you can check which key exchange algorithms the client offers with ssh -Q kex and adjust KexAlgorithms in ~/.ssh/config if your organization asks you to. On the server, the operator decides which key exchange algorithms it offers. If the server offers only non-post-quantum options, a client-side change will not add post-quantum support, so you should raise it with the operator of the host you connect to.
Who has to act on the warning in Git for Windows
The warning in Git for Windows can be addressed at three levels: the developer's client, the server the developer connects to, and any machine-wide or organization-wide SSH configuration. Start by identifying which of these controls the connection, because a change in the wrong place will not clear the warning.
Developer on the client machine
A developer who sees the warning during clone, fetch or push is usually using the OpenSSH client bundled with Git for Windows. Run ssh -V in Git Bash to confirm the build, then use ssh -v to see which key exchange the server negotiated. The developer can add KexAlgorithms or WarnWeakCrypto settings to ~/.ssh/config, but only for hosts they control or are authorized to change. Use ssh -G to confirm the setting applies to the host.
Git hosting operator on the server
The Git hosting operator controls which key exchange algorithms the server offers, and that is the setting that decides whether a client sees a non-post-quantum agreement. Operators should check the SSH server configuration for the key exchange list and confirm it includes the post-quantum options before assuming clients will negotiate them. Changes to the server affect every user who connects, so they should be tested against the Git for Windows client versions in use.
Customer of a hosted Git service
A customer of a hosted Git service generally cannot change the server's key exchange list. What a customer can do is confirm which hosts and key exchanges the service advertises, check the client side on their own machines, and ask the provider whether a server-side change is planned. Customers should not edit a provider's configuration, and should record any provider response in their own change or risk log.
Administrator of machine-wide settings
An administrator who manages machine-wide or organization-wide SSH settings controls the systemwide /etc/ssh/ssh_config file on Unix-like systems and the equivalent defaults deployed to Windows machines. Changes here apply to every user on the host, so they should be made through the normal change process and tested with ssh -G against representative hosts. Remember that a per-user ~/.ssh/config entry can still override a systemwide setting for that user.
Administrator of Git for Windows installs
Teams that use an external OpenSSH client instead of the bundled one must check which binary Git actually runs. The Git for Windows external OpenSSH page explains that choosing the external option skips the bundled binaries, and the release notes for v2.55.0(5) describe an installer issue that overwrote a saved external choice. Administrators should re-run the latest installer with "Only show new options" unchecked on machines that rely on an external client, then verify the active build with ssh -V.
How to check which OpenSSH and key exchange Git for Windows uses
This sequence confirms which OpenSSH build Git for Windows runs, which key exchange algorithms that build supports, what gets negotiated with a Git host, and what the effective client configuration sends. Run it in Git Bash to decide whether the post-quantum warning comes from the client, the server or your own settings.
Open Git Bash and confirm the OpenSSH build
Open Git Bash on the Windows machine where the warning appears, then run
ssh -V. The OpenBSD ssh manual says this option displays the version number and exits, so the output shows which OpenSSH build Git for Windows is calling. Per the Git for Windows release notes, the bundled OpenSSH was v10.3.P1 in v2.53.0(3), v10.5.P1 in v2.55.0(4), and v10.6.P1 in v2.56.0(2), and later entries up to v2.56.1(2) do not list another OpenSSH change. Because 10.6.P1 is later than OpenSSH 10.1, a version of 10.1 or newer means the client prints the post-quantum warning by default. If the output shows a version older than 10.1, the warning is not coming from this client. Check that you are not using an external client. The Git for Windows external OpenSSH page says the bundled binaries are typically in/usr/bin/under the installation directory, while the Windows OpenSSH binaries default toC:\WINDOWS\System32\OpenSSH\.List the supported key exchange algorithms
Run
ssh -Q kexin the same Git Bash window. The OpenBSD ssh manual says this option queries the key exchange algorithms the client supports. Look formlkem768x25519-sha256andsntrup761x25519-sha512in the output. Their presence means the installed build can offer post-quantum hybrid key exchange. If they are missing, the build cannot offer them, and changing settings will not help until the client is updated. Save the list so you can compare it with the server's offer in a later step.Read the negotiated key exchange with verbose output
Connect to the Git host with
ssh -v git@<host>and read the debug lines that name the key exchange. The OpenBSD ssh manual says-vprints debugging messages about ssh's progress, that repeating the flag increases verbosity, and that the maximum is three. Start with one-vand add-vvor-vvvonly when the first level does not show the negotiated algorithm. Look for the line that reports the chosen key exchange method. Record which algorithm the client and server agreed on, and whether the post-quantum warning appears in the same output. Treat the connection as the test: the algorithm chosen here is the one that matters, regardless of what the client supports.Check the effective KexAlgorithms for the host
Run
ssh -G <host>against the same Git host. The OpenBSD ssh manual says this option prints the configuration after evaluating Host and Match blocks and then exits. The output lists the effectivekexalgorithmsvalue, which shows whether aKexAlgorithmsline in~/.ssh/configor/etc/ssh/ssh_confighas changed the default. Compare that list with the OpenBSD ssh_config default: mlkem768x25519-sha256, sntrup761x25519-sha512, sntrup761x25519-sha512@openssh.com, curve25519-sha256, curve25519-sha256@libssh.org, the three ecdh-sha2-nistp curves, and then the diffie-hellman-group entries. A list that starts with+,-or^modifies the default, so check how your entry is applied. Also check thewarnweakcryptovalue in the same output, since it controls whether the warning is printed for this host.Check for environment and git config overrides
Run
echo $GIT_SSH_COMMANDandecho $GIT_SSHin Git Bash, then rungit config --show-origin --get core.sshCommand. The Git documentation says thatGIT_SSH_COMMAND, orGIT_SSH, makes git fetch and git push use that command instead of ssh, and thatGIT_SSH_COMMANDtakes precedence overcore.sshCommand. If either variable is set, git may be running a different ssh binary or different arguments than thessh -Vcheck in the first step. Note the path and any options in the output. An empty result for all three means Git is using the ssh binary on the path, so the earlier checks describe the actual client.Confirm the client matches the installer choice
Check whether the installed client is the one you intended. The Git for Windows release notes for v2.55.0(5) say an installer issue caused the bundled OpenSSH to be installed and to overwrite a saved choice of external OpenSSH. If you rely on an external OpenSSH, re-run the latest installer with "Only show new options" unchecked so the option is re-enabled. Repeat
ssh -Vafter any reinstall. Record the version and the output ofssh -Q kexfor your records. The sequence is complete when you can state the bundled or external OpenSSH version, the key exchange the connection negotiated, and the effectiveKexAlgorithmsandwarnweakcryptovalues for the host. Confirm the server's supported algorithms with the Git hosting provider, since the client checks above do not show what the server offers.
Causes of the warning in Git for Windows and the fix for each
This table lists each cause of the SSH post-quantum key exchange warning in Git for Windows, with the check that identifies it and the fix. Read it by matching what your ssh -V and ssh -v output show against the first column, then apply the fix in the last column. Check the bundled version first, because most causes depend on it.
| Cause | How to confirm it | Fix |
|---|---|---|
| Bundled OpenSSH 10.6.P1 warns when the server negotiates a non-post-quantum key exchange | Run ssh -V in Git Bash. A 10.6.P1 build prints the warning when the server does not offer a post-quantum algorithm. | Ask the server operator to enable a post-quantum key exchange such as mlkem768x25519-sha256. Until then, treat the warning as informational for that host. |
| Older Git for Windows, such as v2.49.0 with OpenSSH v9.9.P2, predates the warning | Run ssh -V. A v9.9.P2 build prints no warning because the warning was added in OpenSSH 10.1. | Upgrade to the current Git for Windows release. The release notes list OpenSSH 10.6.P1 in v2.56.0(2) of October 5th 2026. |
| The server offers only classic key exchange algorithms | Run ssh -v host. Debug output shows the algorithm the server selected, and a classic choice such as curve25519-sha256 means no post-quantum option was negotiated. | Ask the server administrator whether a post-quantum key exchange can be enabled. Client settings cannot add an algorithm the server does not offer. |
| A per-user or systemwide ssh_config restricts KexAlgorithms | Run ssh -G host in Git Bash and check the kexalgorithms line. A list without the post-quantum entries shows the restriction. | Edit ~/.ssh/config to add entries with a + prefix, such as KexAlgorithms +mlkem768x25519-sha256, or remove the restriction. Keep the file writable only by you. |
| GIT_SSH_COMMAND or core.sshCommand points at a different ssh binary | Run echo $GIT_SSH_COMMAND and git config --show-origin core.sshCommand. A value other than the bundled ssh indicates the override. | Unset GIT_SSH_COMMAND, or change core.sshCommand so it points at the bundled OpenSSH, typically in /usr/bin/ under the Git installation directory. |
| An external OpenSSH was selected, so the bundled binary is skipped | Compare the ssh path Git uses with the installer choice. An external client in C:\WINDOWS\System32\OpenSSH\ has a different version. | Run ssh -V on that binary. Update the external client, or re-run the installer with Only show new options unchecked to restore the external option after the v2.55.0(5) issue. |
Which ssh binary Git for Windows runs for each transport
Git decides which SSH program to start before it contacts a server, and that choice determines which OpenSSH build prints the post-quantum warning. For git fetch and git push over SSH, Git runs the command in the GIT_SSH_COMMAND environment variable if it is set, and falls back to GIT_SSH if it is not. GIT_SSH_COMMAND takes precedence over GIT_SSH, and because it is interpreted by the shell, it can include arguments such as -v or a path with options. The core.sshCommand setting in git-config has the same form, but the environment variable overrides it when both are present. Check these first with echo $GIT_SSH_COMMAND and git config --show-origin --get core.sshCommand in Git Bash, because a stale variable in a user profile can send traffic to a different binary than the one you are testing.
The Git for Windows installer asks whether to use the built-in OpenSSH client or an external one. The built-in choice runs the OpenSSH binary bundled in the installation, which is typically under /usr/bin/ relative to the installation directory. Choosing an external client skips those bundled binaries and uses the Windows OpenSSH client, which by default lives in C:\WINDOWS\System32\OpenSSH\. Release notes for v2.55.0(5) of August 20th 2026 record an installer bug in which the bundled OpenSSH overwrote a saved external choice. If you rely on an external client, confirm the setting after upgrading, and if it was reverted, re-run the latest installer with "Only show new options" unchecked to restore it.
To confirm which build runs, run ssh -V in Git Bash and compare the reported version with the bundled release. Git for Windows v2.56.0(2) of October 5th 2026 bundled OpenSSH v10.6.P1, and the v2.56.1(2) entry of November 30th 2026 lists no later OpenSSH change, so a build of 10.1 or later prints the warning by default when a server negotiates a non-post-quantum key agreement. Run ssh -Q kex to list the key exchange algorithms that build supports, and look for mlkem768x25519-sha256 and sntrup761x25519-sha512. Use ssh -G with the target host to see the effective configuration after Host and Match blocks are applied, including any WarnWeakCrypto setting. Make the same check for an external client, since its version and algorithm list can differ from the bundled one.
What to change in Git for Windows to stop the warning
This sequence confirms which Git for Windows and OpenSSH build is in use, moves to a release that bundles the current OpenSSH, and, where needed, sets KexAlgorithms so the ssh client offers post-quantum key exchange first. The result is a Git connection that negotiates a post-quantum algorithm when the server supports one, or a clear record that the server does not.
Confirm the installed Git for Windows version
Open Git Bash and run
git --versionto see the installed Git for Windows release. Then open the Git for Windows release notes and find the entry for that version to see which OpenSSH build it bundles. The release notes list v2.53.0(3) with OpenSSH v10.3.P1, v2.55.0(4) with v10.5.P1, and v2.56.0(2) with v10.6.P1. Note the version you have so you can compare it in the next step. You are done when you can name both the Git version and the bundled OpenSSH version.Check the OpenSSH build the client uses
In Git Bash, run
ssh -Vto print the OpenSSH version that Git for Windows is actually running. Then runssh -Q kexto list the key exchange algorithms this build supports, and confirm thatmlkem768x25519-sha256andsntrup761x25519-sha512appear. Ifssh -Vshows a version older than 10.1, the build predates the warning and you should update. If the post-quantum algorithms are missing from the list, the build cannot offer them, and updating is the fix. You are done when you know the OpenSSH version and whether those two algorithms are available.Check whether an external OpenSSH is selected
The Git for Windows installer can use either its bundled OpenSSH or an external client. An external client skips the bundled binaries, and the Windows OpenSSH client is by default in
C:\WINDOWS\System32\OpenSSH\. Ifssh -Vpoints to a different binary than the one you expect, check which client is in use. The release notes for v2.55.0(5) say an installer issue could overwrite a saved external OpenSSH choice. If you rely on an external client, re-run the latest installer with "Only show new options" unchecked to re-enable that option. You are done when thesshyou are running matches the build you intend to use.Update Git for Windows to a current release
If the installed version bundles an OpenSSH older than 10.1, install the latest Git for Windows release from the official source. Run the installer, keep the default bundled OpenSSH unless you rely on an external client, and finish the installation. Then reopen Git Bash and repeat
git --versionandssh -Vto confirm the new versions. You are done whenssh -Vreports a build that includes the post-quantum key exchange algorithms inssh -Q kex. This step requires administrator rights on many Windows machines, so check with your IT team if the installer is blocked.Set KexAlgorithms in the SSH configuration
Only do this if the server accepts post-quantum algorithms and the warning still appears after updating. Open
~/.ssh/config, which is the per-user file, or/etc/ssh/ssh_configfor a systemwide setting. Add aKexAlgorithmsline under the host you connect to, starting with+to append the post-quantum algorithms to the default set, or^to place them first. For example,KexAlgorithms ^mlkem768x25519-sha256,sntrup761x25519-sha512is an illustrative entry. Usessh -G <host>to print the effective configuration and confirm your line applies to that host. You are done whenssh -Gshows the KexAlgorithms value you set.Check file permissions on the SSH config
The OpenBSD ssh manual says
~/.ssh/configmust not be writable by other users. On Windows, check that only your account and administrators can write to the file, and remove write access for other accounts through the file's security properties. A file that other users can change may be ignored or may create a security problem. If you edit the file from a shared or synced folder, confirm the permissions after the sync. You are done when the file is writable only by your account and administrators, andssh -Gstill reads your settings.Ask the Git host to offer post-quantum algorithms
The client can offer post-quantum algorithms, but the server decides which one is used. If the warning still appears after your client is current and configured, the server may not offer a post-quantum key exchange. On a hosted Git service you cannot change the server, so ask the service provider whether its SSH endpoint supports these algorithms and when it plans to add them. If you run your own Git server, check its SSH configuration and OpenSSH version. You are done when you have either a confirmed server setting or a written answer from the provider.
Confirm the warning is gone
Run a Git operation against the host, such as
git fetchorgit cloneon a repository you already use, and watch for the post-quantum warning. For more detail, runssh -v <host>and review the key exchange line in the output, where-vcan be repeated up to three times for more debugging messages. If the warning no longer appears, the fix is complete. If it still appears, the server is not offering a post-quantum algorithm, and the remaining step is the provider request above.
How the Git for Windows fix differs by installation choice
When you choose the built-in OpenSSH client during setup, Git for Windows uses the OpenSSH binaries it bundles, which are typically in /usr/bin/ relative to the installation directory. The release notes list the bundled version as v10.6.P1 in v2.56.0(2), which is later than OpenSSH 10.1, so this client prints the post-quantum warning by default when a server negotiates a key agreement without a post-quantum option. You do not need to change the installer choice to get the warning or its explanation.
- Confirm the version: Run
ssh -Vin Git Bash to see which OpenSSH build Git for Windows is using. - Check the key exchange list: Run
ssh -Q kexto see whethermlkem768x25519-sha256andsntrup761x25519-sha512are available in the installed build. - Read the debug output: Run
ssh -vagainst the host, and add more-vflags for more detail, up to three. - Set the preference per host: Add a
KexAlgorithmsline to the per-user~/.ssh/configfile, and confirm it applies withssh -G.
Check that the version reported by ssh -V matches the bundled release in your installed Git for Windows version.
When you choose an external OpenSSH client, the installer skips the bundled binaries, and Git uses the Windows OpenSSH client, which by default lives in C:\WINDOWS\System32\OpenSSH\. Its version and configuration are set by Windows, not by Git for Windows, so the fix is made against that client. The release notes for v2.55.0(5) of August 20th 2026 say an installer issue caused the bundled OpenSSH to be installed and to overwrite a saved external choice, so an external setup may have been reverted.
- Re-enable the external option: Re-run the latest installer with Only show new options unchecked, as the v2.55.0(5) note directs, so the external client choice is offered again.
- Confirm which client runs: Run
where sshin Command Prompt to see whether the path resolves toC:\WINDOWS\System32\OpenSSH\ssh.exe. - Check the version and key exchange list: Run
ssh -Vandssh -Q kexfrom that path to confirm what the Windows client supports. - Set the preference: Add the
KexAlgorithmssetting to the user configuration file for that client, and confirm it withssh -G.
After re-running the installer, confirm that Git still resolves to the external client before you change any settings.
On a managed machine, an administrator may control the SSH configuration through a systemwide file, so a change you make in your own ~/.ssh/config can be overridden or can behave differently than expected. The OpenBSD documentation names /etc/ssh/ssh_config as the systemwide file. Where the file is administrator-controlled, the warning and key exchange behavior may reflect a policy you do not own, and the correct fix may be a request to the administrator rather than a local edit.
- Find the governing file: Run
ssh -Gagainst the host to print the effective configuration after Host and Match blocks are evaluated. - Do not edit a managed file without approval: Treat the systemwide configuration as the administrator's control point.
- Check the per-user file permissions: The OpenBSD manual says
~/.ssh/configmust not be writable by others. - Ask for the policy, not a workaround: Request the administrator to confirm the intended
KexAlgorithmssetting, or to say whetherWarnWeakCryptois set on purpose.
Confirm with your administrator which configuration file is authoritative before you change anything, because the answer decides where the fix belongs.
How to confirm the Git for Windows warning is gone
Once you have changed the client or server setting, confirm the change with a fresh connection rather than assuming it worked. Rerun ssh -v against the Git host, for example ssh -v git@your-git-host from Git Bash, and look at the debug lines that report the key exchange. A line beginning with debug1: kex: algorithm: names the algorithm the client and server actually agreed on. If that name is mlkem768x25519-sha256 or sntrup761x25519-sha512, the connection uses a post-quantum hybrid key exchange, and the warning should no longer appear. You can also run a real operation such as git clone or git fetch with -v added to the SSH command, using GIT_SSH_COMMAND if you need to pass the flag, so that you see the same negotiation during the transfer your team actually performs.
Check the configuration the client will use before you test. Run ssh -G your-git-host to print the settings ssh resolves for that host after it evaluates the Host and Match blocks in ~/.ssh/config and the systemwide file. Confirm that the kexalgorithms line and any warnweakcrypto setting match what you intended. Because ssh -G reflects the file on disk, it will not show a change made only in an environment variable or a different client, so use it together with the ssh -v output rather than in place of it. Note the version from ssh -V as well, since the OpenSSH build bundled with Git for Windows is the one that prints the warning.
After the change, watch for warnings that remain. Some servers still offer only classic key exchange algorithms, and a client that cannot negotiate a post-quantum method will keep printing the warning for those hosts even when your configuration is correct. In that case the fix sits on the server side, and the right step is to ask the operator of that host whether a post-quantum key exchange is available and when it will be enabled. Record which hosts still show the warning, since that list is the part you hand to the server owners. A warning that persists only for one host, while others negotiate a hybrid algorithm, points to that server's offered algorithms rather than to your client.
What can break when you change Git for Windows key exchange settings
Changing KexAlgorithms or related settings alters how Git for Windows negotiates with servers, so a setting that works for one host can fail for another. The cards below cover the places where a change is most likely to break a working clone, fetch or push, and what to check before and after you make it.
Older clients and scripts pinned to specific kex
Some scripts, wrapper tools and ssh_config files pin a single key exchange algorithm by name. If a server stops offering that algorithm, or the pinned name is missing from the bundled build, the handshake fails outright. Before you change anything, run ssh -Q kex in Git Bash to see which algorithms the installed OpenSSH supports, then search your scripts and ~/.ssh/config for any KexAlgorithms lines that name a fixed algorithm.
CI runners with their own Git and OpenSSH
A CI runner may use a different Git build or an external OpenSSH client, so a configuration that works on your workstation can behave differently on the runner. The bundled OpenSSH is v10.6.P1 in v2.56.0(2), but a runner pinned to an older Git or a system OpenSSH will report its own version. Confirm the version on each runner with ssh -V before you assume the workstation result carries over.
Pinned host keys
Changing key exchange settings does not change the host key a client trusts, but a change that forces a different negotiation can expose stale entries in known_hosts. Do not clear or edit host key entries to get a connection working. Treat a host key mismatch as a possible security event and confirm the new key through the server operator before you replace any stored key.
Compliance-mode configurations that restrict algorithms
Some organizations apply managed or systemwide configurations that restrict which algorithms clients may use. A user-level KexAlgorithms change can conflict with a systemwide file at /etc/ssh/ssh_config, or with an enforced policy, and produce a failure that looks random. Use ssh -G with the target host to print the effective configuration after Host and Match blocks are evaluated, and confirm which file each value comes from.
Installer overwrites of external OpenSSH
The v2.55.0(5) release notes say an installer issue could overwrite a saved choice of external OpenSSH with the bundled binaries. If your setup depends on an external client, a reinstall can silently switch the client a script calls. Check the active client after any upgrade, and re-run the installer with Only show new options unchecked if you need to restore the external option.
Git for Windows release notesWhen to get help with the Git for Windows warning
Some fixes for this warning sit outside the developer's own machine, and you should bring in the right owner early. Start by deciding who controls each part of the connection. The developer controls the Git for Windows build, the ~/.ssh/config file and the environment variables that change how git runs ssh. The Git hosting operator controls the SSH server and the key exchange algorithms it offers. If the server only negotiates a non-post-quantum key exchange, no client setting will change that, so the hosting operator is the person to contact. Check whether the server's documentation or your provider's notices describe post-quantum key exchange support before you open a request.
Involve an internal platform team when the problem affects many developers or when the fix needs a standard setting pushed out. The Git for Windows release notes show that the bundled OpenSSH was updated in v2.53.0(3), v2.55.0(4) and v2.56.0(2), and that the entries through v2.56.1(2) list no further OpenSSH change, so a developer may already be on the newest bundled build. Also note the v2.55.0(5) installer issue: it could overwrite a saved choice of external OpenSSH, so teams that rely on an external client should confirm their installed version with ssh -V after any update. Ask the platform team to confirm which build is deployed across the fleet and whether they want a managed KexAlgorithms entry.
Bring in an outside engineering partner when a regulated environment needs evidence that the change was planned, tested and documented. DeployOpen plans and documents changes like these inside a client's own infrastructure, but DeployOpen is not a partner of Git or OpenSSH, and it does not issue audit reports or certifications. Ask any provider for a written scope, the list of systems and clients affected, the test results, and the rollback steps. Your compliance or assessment team should confirm what evidence the auditors expect before the work begins.
Questions developers ask about the Git for Windows post-quantum warning
Is the connection still encrypted when Git for Windows shows the warning?
Yes. The warning reports that the key exchange algorithm negotiated for the session is not a post-quantum algorithm. It does not mean the traffic is sent in plain text. The session is still encrypted using the key exchange the server and client agreed on. What the warning tells you is that the key exchange is not one of the post-quantum options, such as mlkem768x25519-sha256 or sntrup761x25519-sha512, that OpenSSH now prefers. The bundled OpenSSH in Git for Windows is 10.6.P1 in v2.56.0(2) of October 5th 2026, and its client prints this warning by default when the server negotiates a non-post-quantum key agreement. To see what your client offers, run ssh -Q kex in Git Bash.
Is the Git for Windows post-quantum warning urgent?
The warning does not mean an immediate failure, and it does not mean your current session is broken. It is a signal that the server is not offering a post-quantum key exchange to your client. Treat it as planned work rather than an emergency. Confirm with the owner of the server whether post-quantum key exchange is on their roadmap, and ask what they plan to change. Your organization's own migration timeline, set by its security and compliance teams, should decide how quickly you act. The sources listed on this page do not give a deadline for when servers must offer post-quantum key exchange, so confirm any deadline with your security team and the server operator rather than assuming one.
Can I ignore or silence the Git for Windows post-quantum warning?
You can suppress it, but suppression is only temporary. The OpenSSH client reads the WarnWeakCrypto setting, so you can turn the warning off for a host in ~/.ssh/config or in /etc/ssh/ssh_config. Before you do, run ssh -G with the host name to confirm which setting applies, since ssh -G prints the configuration after evaluating Host and Match blocks. Silencing the warning does not change the key exchange the server negotiates, so the connection stays on the same algorithm. Keep a record of each suppression, the reason for it and the date you plan to revisit it. Remove the suppression once the server or client offers a post-quantum key exchange.
Why does the Git for Windows post-quantum warning appear now?
The warning appeared because the bundled OpenSSH changed. Git for Windows shipped OpenSSH v10.3.P1 in v2.53.0(3) of April 14th 2026, v10.5.P1 in v2.55.0(4) of August 11th 2026, and v10.6.P1 in v2.56.0(2) of October 5th 2026. Because the bundled OpenSSH is now later than OpenSSH 10.1, its client prints the warning by default when a server negotiates a non-post-quantum key agreement. Older Git for Windows builds, such as v2.49.0 of February 13th 2025 with OpenSSH v9.9.P2, predate the warning. The change came from the OpenSSH client, not from anything the server did. Check your version with ssh -V in Git Bash to see which OpenSSH build you are running.
What should I do if I cannot upgrade Git for Windows?
If you cannot move to a newer build, you have two options that the sources support. First, you can ask the server operator to enable a post-quantum key exchange, which removes the warning at the source. Second, you can configure the client to prefer the algorithms you need. In ~/.ssh/config, a KexAlgorithms line that starts with ^ places the listed algorithms at the head of the default set, and a line starting with + appends to it. Use ssh -G to check the result. If your organization uses an external OpenSSH client, the sources note that installing with the external option skips the bundled binaries. Confirm the upgrade path with your IT team before you change installed software.
How do I check which key exchange Git for Windows is using?
Run ssh -v against the server to see the negotiation in the debug output. The -v flag prints debugging messages about ssh's progress, and you can repeat it to raise verbosity, up to a maximum of 3. Look for the key exchange line in the output to see which algorithm was agreed. To see the algorithms your client supports, run ssh -Q kex. This confirms whether mlkem768x25519-sha256 and sntrup761x25519-sha512 are available in the installed build. Compare the negotiated algorithm with the server's supported list, and keep the output with your migration records.
Should I hire outside help for the Git for Windows post-quantum warning?
Outside help is worth considering when the work touches many servers, when your Git hosting or file transfer servers are managed by other teams, or when you need evidence for a compliance review. A fixed-scope engagement with DeployOpen can cover planning, configuration review and documentation for SSH clients and servers in your own infrastructure. Ask any provider for a written scope, the deliverables, and what is included in the work. DeployOpen does not publish a price list, so a quote follows from the agreed scope. For a single developer workstation, the configuration steps on this page are often enough. Choose help based on how many systems are affected and who needs to sign off.
How DeployOpen helps fix SSH key exchange warnings
DeployOpen scopes the Git for Windows warning against your own repositories, Git hosts and developer machines, then works through the bundled OpenSSH client, the external OpenSSH option and the Git settings that choose the ssh command. Each step ends in a written record of the commands run, the log output read and the settings changed, so your team can repeat the check on other machines.
How we scope
- We list which Git for Windows versions your developers run and whether they use the bundled OpenSSH or an external client.
- We identify the Git hosts and servers your team clones from, fetches from and pushes to, and which ones report the warning.
- Engagements are fixed-scope, with deliverables and timelines agreed in writing before any work starts on your systems.
How we build
- We check the bundled OpenSSH version with ssh -V in Git Bash and confirm which key exchange algorithms are available with ssh -Q kex.
- We review ~/.ssh/config and /etc/ssh/ssh_config and use ssh -G to confirm how a KexAlgorithms or WarnWeakCrypto setting applies to each host.
- We test GIT_SSH_COMMAND and core.sshCommand against the ssh binary you intend to use, and document any changes needed in your own environment.
How we hand over
- You receive a written record of the Git for Windows version, the OpenSSH build, the settings changed and the log output reviewed.
- We include a step-by-step procedure your developers can follow with ssh -v on a host that reports the warning.
- We note the installer behavior described in the Git for Windows v2.55.0(5) release notes, so your team can re-enable an external OpenSSH choice if needed.
How we support
- Ongoing support, upgrades and continuous checks are available as retainers, including when Git for Windows changes its bundled OpenSSH.
- We can retest after a Git for Windows upgrade, a change to your Git hosts or a change to your SSH server configuration.
- Our written handover lists what to confirm with each Git host vendor, since server-side key exchange settings sit outside the Git for Windows client.

