Fix the SSH post-quantum key exchange warning on Google Compute Engine

If Google Compute Engine shows the SSH post-quantum key exchange warning, the connection is still encrypted but its key exchange is classical. Cloud administrators and users check the negotiated algorithm, upgrade old clients and VM images, set KexAlgorithms, and confirm the change.

On this page

What the SSH post-quantum key exchange warning means on Google Compute Engine

When you connect to a Compute Engine VM and see the warning that the connection is not using a post-quantum key exchange algorithm, the session is still encrypted, but the key exchange that set up that encryption is classical. Two parties control the two sides of this. Your SSH client, under your user account, decides which key exchange algorithms it offers and in what order. The VM's sshd, under the VM administrator, decides which ones it accepts. Either side can close the gap, and neither needs the other's permission to start.

The post-quantum protection in this setup covers only the key exchange phase. Google's Compute Engine documentation on best practices for using post-quantum SSH describes SSH as three phases: key exchange (KexAlgorithms), authentication, and session encryption (Ciphers). The same page states that standard OpenSSH does not yet use post-quantum signatures for user authentication, so changing KexAlgorithms does not change how you log in, and it does not change the cipher protecting the session.

The warning is not an emergency for an individual connection, and you do not need to stop work to address it. The first step is to check your own client. Run ssh -V on your workstation. If the version is earlier than 9.0, upgrade OpenSSH before anything else, because older clients cannot offer the post-quantum algorithms at all. Then connect with gcloud compute ssh VM_NAME --zone=ZONE -- -v and read the debug1: kex: algorithm: line. A value of mlkem768x25519-sha256 or sntrup761x25519-sha512@openssh.com means the post-quantum key exchange is active for that session.

If the warning persists after you upgrade, set KexAlgorithms in your ~/.ssh/config (or %USERPROFILE%\.ssh\config on Windows) so post-quantum algorithms come first and a classical fallback remains. Changing the VM's sshd is a separate decision for the administrator, and the Google page advises keeping a current session open while testing any strict server setting, because a restrictive configuration can lock out clients that lack post-quantum support.

Who has to act: the client user, the VM administrator, or both

The warning on Google Compute Engine depends on two independent settings: the algorithm order on the client that connects, and the algorithms offered by the sshd process on the VM. Most users only need to change the client, and most VMs on the listed images already offer post-quantum key exchange without any change by the administrator.

Client user sets the preference order

The client sends an ordered list of key exchange algorithms, and the server picks the first one it also supports. The person who connects therefore decides whether post-quantum algorithms are tried first. Set KexAlgorithms in ~/.ssh/config on Linux or macOS, or in %USERPROFILE%\.ssh\config on Windows, using the recommended value that puts mlkem768x25519-sha256 and sntrup761x25519-sha512@openssh.com first, with a classical fallback after them. Check that the client is OpenSSH 9.0 or later with ssh -V, since earlier clients cannot offer these algorithms.

Google post-quantum SSH guide

SSH-in-browser needs no change

SSH-in-browser in the Google Cloud console prefers post-quantum algorithms automatically. A user who connects only through the console does not need to edit any configuration on a workstation. This option covers the console session only, so anyone who connects from their own terminal, IDE or automation still depends on the client settings described in the previous card. Use the console when you need a quick check that the VM itself negotiates a post-quantum algorithm.

VM administrator confirms sshd defaults

On a VM running Debian 12 or later, Ubuntu 24.04 LTS or later, Fedora 39 or later, Container-Optimized OS Milestone 109 or later, or Rocky Linux or AlmaLinux 10 or later, the shipped OpenSSH 9.0 or later sshd supports sntrup761x25519-sha512@openssh.com by default. OpenSSH 10.0 or later also supports mlkem768x25519-sha256 by default. Check the OpenSSH version on the VM before changing anything. Ubuntu 22.04, Debian 11 and RHEL 9 ship earlier versions that do not offer post-quantum key exchange, so those VMs need an OS upgrade rather than a configuration change.

Optional strict server setting

The administrator may add a strict KexAlgorithms file at /etc/ssh/sshd_config.d/99-post-quantum-kex.conf, validate it with sudo sshd -t, and apply it with sudo systemctl reload sshd (or ssh where the service is named ssh). A reload does not drop active sessions. This setting is optional, and it locks out any client that does not offer post-quantum key exchange, so apply it only after confirming that all expected clients support it. Keep an existing session open while testing a new connection.

What the console cannot change

On a managed Compute Engine VM, the Google Cloud console does not expose a setting for the sshd KexAlgorithms list. Changes happen inside the guest operating system, so the administrator needs shell access to the VM. The console is useful only as a route into that shell, through SSH-in-browser or the serial console. Confirm with your own administrators which image each VM uses and whether its sshd version has already been checked.

How to check which key exchange your connection negotiates

This sequence confirms your SSH client version and shows which key exchange algorithm a connection to a Google Compute Engine VM actually negotiates. The result tells you whether post-quantum key exchange is active, and it gives you the output to check against after any configuration change.

  1. Check the local SSH client version

    Run ssh -V on the workstation or automation host that connects to the VM. The output names the OpenSSH version. If the version is earlier than 9.0, upgrade the client before continuing, because older clients cannot offer the post-quantum algorithms listed on the Google page. Upgrade through your operating system package manager or the Google Cloud SDK, then run ssh -V again to confirm the new version is in use. Only continue once the reported version is 9.0 or later.

  2. Check the VM operating system release

    Connect to the VM and run cat /etc/os-release to identify the distribution and release. The Google page lists Debian 12 and later, Ubuntu 24.04 LTS and later, Fedora 39 and later, Container-Optimized OS Milestone 109 and later, and Rocky Linux or AlmaLinux 10 and later as shipping OpenSSH 9.0 or later. It also says Ubuntu 22.04, Debian 11 and RHEL 9 ship earlier versions that do not support post-quantum key exchange. Note the release name so you can compare it with the sshd version in the next step.

  3. Check the sshd version on the VM

    On the VM, run sshd -V or ssh -V, depending on what your distribution provides, to read the OpenSSH server version. Version 9.0 or later supports sntrup761x25519-sha512@openssh.com by default, and version 10.0 or later also supports mlkem768x25519-sha256 by default. If the server is older than 9.0, the VM cannot negotiate post-quantum key exchange, and you will need to upgrade the operating system or the OpenSSH package before the warning can be resolved. No configuration change is required when the version is adequate.

  4. Run a verbose connection to the VM

    Connect with verbose output using gcloud compute ssh VM_NAME --zone=ZONE -- -v, replacing VM_NAME and ZONE with your values. You can also run ssh -v against the VM's address if you manage your own SSH configuration. Verbose output is printed to the terminal during the handshake. Keep this session open or capture the output to a file so you can search it in the next step.

  5. Read the negotiated key exchange line

    Search the verbose output for the line that begins with debug1: kex: algorithm:. If the algorithm shown is sntrup761x25519-sha512@openssh.com or mlkem768x25519-sha256, post-quantum protection is active for the key exchange phase. If it shows curve25519-sha256 or ecdh-sha2-nistp256, the connection is not using post-quantum key exchange and the warning will continue to appear. Remember that this result covers key exchange only, because standard OpenSSH does not yet use post-quantum signatures for user authentication.

  6. Confirm the result against the warning

    Compare the negotiated algorithm with the warning you saw. If the line shows a post-quantum algorithm and the warning still appears, the warning may come from a different client, script or library that connects to the same VM with its own settings. If the line shows a classical algorithm, check the client preference order in ~/.ssh/config or %USERPROFILE%\.ssh\config, then repeat the verbose connection. Record the output so you can compare it after any change, and keep the current session open while you test new connections.

Which cause produces the warning, and the fix for each

This table pairs each cause of the post-quantum key exchange warning on Google Compute Engine with the change that fixes it. Read each row by matching your client version, your KexAlgorithms setting or the VM's operating system to the cause, then apply the fix in that row. Check the result afterward with the verbose output described on this page.

CauseWhat it looks likeFix
Client older than OpenSSH 9.0 or PuTTY 0.78Client cannot offer sntrup761x25519-sha512@openssh.com or mlkem768x25519-sha256 at allRun ssh -V and upgrade the client to OpenSSH 9.0 or later, or PuTTY 0.78 or later, then reconnect
PuTTY earlier than 0.83 for ML-KEMPuTTY 0.78 to 0.82 connects but cannot use the ML-KEM optionUpgrade PuTTY to 0.83 or later, then set the hybrid option first under Connection > SSH > Kex
Client KexAlgorithms not set, or set without post-quantum entriesEvent Log or verbose output shows curve25519-sha256 or ecdh-sha2-nistp256 as the negotiated algorithmAdd the recommended KexAlgorithms line to ~/.ssh/config (Linux or macOS) or %USERPROFILE%\.ssh\config (Windows), with post-quantum entries listed first
VM on Ubuntu 22.04, Debian 11 or RHEL 9 with an older sshdThe server's sshd predates OpenSSH 9.0 and does not support post-quantum key exchangeUpgrade the VM to a release that ships OpenSSH 9.0 or later, such as Debian 12, Ubuntu 24.04 LTS or Rocky Linux or AlmaLinux 10, or accept classical key exchange until then
Strict server or client list that is incompatibleno matching key exchange method found when a post-quantum-only list meets an older client or serverKeep the classical fallback in the list, such as diffie-hellman-group-exchange-sha256 in the client line, and keep the current session open while testing the strict setting

What to change on the client and the VM, in order

The sequence below moves both your workstation and the VM toward a post-quantum key exchange in an order that keeps you able to log in throughout. Each step ends with a check you can run, so you know whether it is done before you move on.

  1. Check the client OpenSSH version

    Run ssh -V on the workstation that connects to the VM. If the version is earlier than OpenSSH 9.0, the client cannot offer a post-quantum key exchange and must be upgraded before any other change will take effect. Upgrade through your operating system or package manager, then run ssh -V again to confirm the reported version is 9.0 or later. On Windows, PuTTY users should instead confirm version 0.78 or later, or 0.83 or later if they want ML-KEM. Note that the Google page names ssh -V as the check for gcloud users.

  2. Upgrade the client to a supported version

    Install OpenSSH 9.0 or later, or PuTTY 0.78 or later (0.83 or later for ML-KEM), using the method your platform uses for software updates. The person doing this is the workstation owner or the administrator who manages the workstation image. Once the upgrade finishes, open a new terminal so the updated binary is the one that runs. Done is confirmed when ssh -V reports the new version in that new terminal.

  3. Set KexAlgorithms in your SSH config

    Add a KexAlgorithms line to ~/.ssh/config on Linux or macOS, or to %USERPROFILE%\.ssh\config on Windows. Use the value ^mlkem768x25519-sha256,sntrup761x25519-sha512@openssh.com,diffie-hellman-group-exchange-sha256. The leading ^ places these algorithms first and keeps a classical fallback, so connections to older servers still succeed. Save the file and confirm you can still open a session to the VM.

  4. Confirm the VM image ships OpenSSH 9.0 or later

    Check which operating system image the VM runs. The Google page lists Debian 12 and later, Ubuntu 24.04 LTS and later, Fedora 39 and later, Container-Optimized OS Milestone 109 and later, and Rocky Linux or AlmaLinux 10 and later as shipping OpenSSH 9.0 or later. Ubuntu 22.04, Debian 11 and RHEL 9 ship earlier versions that do not support post-quantum key exchange. If the VM runs an earlier image, plan an upgrade to a supported image before changing the server configuration. Confirm with sshd -V or the package manager on the VM.

  5. Verify the connection shows a post-quantum algorithm

    Connect with ssh -v to the VM, or run gcloud compute ssh VM_NAME --zone=ZONE -- -v, and read the debug1: kex: algorithm: line in the output. The connection is protected when the line reports sntrup761x25519-sha512@openssh.com or mlkem768x25519-sha256. If it reports curve25519-sha256 or ecdh-sha2-nistp256, the client is still not offering a post-quantum option, so return to the earlier steps. Record the output for your change records.

  6. Consider the strict server setting last

    Only after the earlier steps are verified should you consider the optional strict setting, which is a file at /etc/ssh/sshd_config.d/99-post-quantum-kex.conf containing KexAlgorithms mlkem768x25519-sha256,sntrup761x25519-sha512@openssh.com. This setting rejects clients without post-quantum support, so confirm every client that connects to the VM has been checked first. Keep your current session open while you test a new connection, because a strict setting can lock out clients. Create the file with your editor using sudo, then validate it with sudo sshd -t. A clean run with no output means the configuration parses correctly.

  7. Apply the server change and test a new session

    Apply the configuration with sudo systemctl reload sshd, or sudo systemctl reload ssh on images where the service is named ssh. A reload does not drop active sessions. Open a second, new connection from a client that has been upgraded, and run the ssh -v check again. Keep the original session open until the new connection succeeds. If a classical client fails with no matching key exchange method found, remove the file, reload sshd and re-test.

  8. Prepare a recovery path before you finish

    Before you close the change, confirm you can recover access if a strict setting locks clients out. The Google page lists SSH-in-browser or the serial console as ways to delete or edit 99-post-quantum-kex.conf and reload sshd. As a fallback, the page describes stopping the VM and adding a startup-script metadata entry that removes the file and reloads ssh or sshd, then removing that script once access returns. Test one of these paths before you need it, so the recovery is known to work.

How the fix differs by client, image and access method

If you connect with the gcloud CLI, the client side is the OpenSSH client already installed on your workstation. Google's guidance is to check its version first, because post-quantum key exchange needs OpenSSH 9.0 or later on the client. If your version is earlier, upgrade it, then connect with the standard command and no extra flags. The preference order is set in your SSH config file, which gcloud reads like any other OpenSSH client.

  • Check the version: Run ssh -V on your workstation. Upgrade the client if the reported version is earlier than 9.0.
  • Connect normally: Use gcloud compute ssh VM_NAME --zone=ZONE with no extra flags once the client is current.
  • Set the preference order: Add the recommended KexAlgorithms value to ~/.ssh/config so gcloud connections pick up the same ordering as plain OpenSSH.
  • Confirm with verbose output: Run gcloud compute ssh VM_NAME --zone=ZONE -- -v and read the debug1: kex: algorithm: line.

Check that the algorithm reported on the debug1: kex: algorithm: line is sntrup761x25519-sha512@openssh.com or mlkem768x25519-sha256.

Decision path from the warning to the fix on Google Compute Engine

The path starts with the client, because the client sends an ordered list of key exchange algorithms and the server picks the first one it also supports. First check the OpenSSH version with ssh -V and upgrade if it is earlier than 9.0. Next read the debug1: kex: algorithm: line from ssh -v or gcloud compute ssh VM_NAME --zone=ZONE -- -v to see what was negotiated. If the line shows curve25519-sha256 or ecdh-sha2-nistp256, set KexAlgorithms in ~/.ssh/config on the client, then run the same verbose check again to confirm.

The client determines the negotiated key exchange, so the check starts there.

How to confirm the connection now uses post-quantum key exchange

The fastest check is to rerun the connection in verbose mode and read the key exchange line. Run ssh -v against the VM's address, or run gcloud compute ssh VM_NAME --zone=ZONE -- -v so the verbose flag reaches the underlying SSH client. In the output, find the line that begins with debug1: kex: algorithm:. If it names sntrup761x25519-sha512@openssh.com or mlkem768x25519-sha256, the key exchange is post-quantum. If it names curve25519-sha256 or ecdh-sha2-nistp256, the connection is still using a classical algorithm, so return to the client configuration and check the KexAlgorithms order. Note that this line only describes the key exchange phase. Google's page states that standard OpenSSH does not yet apply post-quantum signatures to user authentication, so a matching line does not mean the whole session is post-quantum.

If you connect with PuTTY, the check happens in the Event Log instead. Confirm that you are running version 0.78 or later, or 0.83 or later if you want ML-KEM, and that the hybrid option is first under Connection > SSH > Kex. Then open the Event Log during a connection and look for Using NTRU Prime / Curve25519 hybrid key exchange or Using ML-KEM / Curve25519 hybrid key exchange. The SSH-in-browser option in the Google Cloud console selects post-quantum algorithms on its own, so you can use it as a reference point if a desktop client disagrees with the result you expect.

After the change, watch the places where a silent failure would appear. Keep an eye on sshd logs on the VM for connections from clients that still lack post-quantum support, and check whether any deployment scripts, CI jobs or scheduled backups use a pinned or older SSH client. If you applied the optional strict server setting, a classical client now fails with no matching key exchange method found, so search your automation for that error text before you rely on it. Do not rely on a single successful test: rerun the verbose check from each workstation and runner that connects to the VM. Google's page notes that the server can also be configured to log weak key agreements in OpenSSH 10.5 and later, so review the release notes for your server's version before deciding how closely to monitor that log.

What can break when you tighten the key exchange list

Changing the SSH key exchange list on Compute Engine can stop connections that worked before, including automated jobs and older clients. The cards below cover the failure modes, the server settings that cause them, and the recovery path to use if access is lost.

Strict client lists fail on older servers

If you set KexAlgorithms in ~/.ssh/config to post-quantum algorithms only, the client offers nothing else. Against a server running OpenSSH earlier than 9.0, no algorithm overlaps, and the connection fails with no matching key exchange method found. The recommended value from the Google page keeps a classical fallback after the post-quantum entries, which avoids this failure. Before you apply a strict list, check each host you connect to with ssh -V on the client and confirm the server release. Keep an existing session open while you test a new configuration, so you can revert the file if a new connection fails.

Google SSH guidance

Strict server settings lock out classical clients

The optional server file /etc/ssh/sshd_config.d/99-post-quantum-kex.conf sets KexAlgorithms to post-quantum algorithms only. Any client that does not offer one of them, including older PuTTY releases, scripts and third-party tools, can no longer complete a key exchange with that VM. Validate the file with sudo sshd -t before reloading, and apply it with sudo systemctl reload sshd (or sudo systemctl reload ssh where the service is named ssh). A reload does not drop active sessions, but new connections from clients that lack support will fail. Confirm who connects to the VM before you deploy the file to production instances.

sshd_config manual

CI runners and scripts with pinned clients

Build pipelines, deployment jobs and cron scripts often pin an OpenSSH client version in a container image or on a runner, and nobody revisits it after the image is built. An image that ships a client earlier than 9.0 cannot offer the post-quantum algorithms, so a strict server setting or a strict client list will break those jobs without any change to the job itself. Inventory every pipeline that runs ssh or gcloud compute ssh and record the client version each one uses. Rebuild or update the images that predate OpenSSH 9.0 before you tighten the server or client configuration, and test one job against a staging VM first.

Client version guidance

Older operating system images

Ubuntu 22.04, Debian 11 and RHEL 9 ship OpenSSH releases that do not support post-quantum key exchange, according to the Google page. A VM on one of these images will keep showing the warning until it moves to a release that does, or until its own server configuration is changed. Check the operating system on each instance before you plan the change. Upgrading the operating system is a larger change than editing a configuration file, so schedule it separately and review it with the owners of the workloads running on that VM.

Lockout recovery through the console

If a strict setting locks you out, the Google page lists two recovery paths. SSH-in-browser or the serial console lets you delete or edit 99-post-quantum-kex.conf and reload sshd. If neither works, you can stop the VM and add a startup-script metadata entry that removes the file and reloads ssh or sshd, then start the VM and remove the script once access returns. Use a startup script only as a recovery step, and delete it afterward so it does not run on every boot. Record which path you used, because repeated lockouts usually mean the change was deployed without a test connection.

Recovery steps

Warnings from newer server releases

The OpenSSH 10.5 release notes add a server-side WarnWeakCrypto option to sshd_config, on by default, that logs when a client uses a key agreement that is not post-quantum safe. This log entry does not block the connection. Administrators who review sshd logs may see these entries after an upgrade, and they should expect them as an indication of which clients still use classical key exchange. Check the release notes for the OpenSSH version on your VM before you treat these entries as a failure, and confirm the default behavior in the sshd_config manual for your release.

OpenSSH release notes

When to ask for outside help with the change

Most Compute Engine VMs can be checked and changed by the administrator who owns them, but some situations call for outside help. The first is when the reader cannot upgrade the image or the client. Google's page says the server side needs OpenSSH 9.0 or later for sntrup761x25519-sha512@openssh.com and OpenSSH 10.0 or later for mlkem768x25519-sha256, and it lists Ubuntu 22.04, Debian 11 and RHEL 9 as shipping earlier versions without post-quantum key exchange. If a VM runs one of these images under a fixed change freeze, or if a partner's older SSH client cannot be updated, the reader should plan the path forward with the owners of those systems rather than work around the warning alone.

A second situation is scale. When many VMs, or automated jobs such as deployment pipelines, backup agents and file transfers, connect over SSH, a single change to KexAlgorithms or to the sshd configuration can break work across the fleet. The Google page advises keeping the current session open while testing a new connection and notes that a strict client list fails against servers older than OpenSSH 9.0 with no matching key exchange method found. Teams responsible for many instances should inventory which VMs and jobs depend on SSH, test the change on a representative subset first, and agree a rollback plan before they roll it out widely.

A third situation is lockout. The optional strict server file /etc/ssh/sshd_config.d/99-post-quantum-kex.conf can block clients that lack post-quantum support. If the reader cannot reach a VM after that change, recovery through SSH-in-browser, the serial console, or a startup-script metadata entry needs someone who can act quickly and safely on the instance.

The last situation is regulated work. Where an assessor or internal audit needs documented evidence that the change was made, planned and verified, the reader will need a written record of the inventory, the settings applied, the test results and the rollback steps. DeployOpen plans and documents changes of this kind for client environments, and can help prepare the records a compliance team asks for. This page is a set of technical steps. It is not an audit, an attestation or a certification, and the reader should not treat it as evidence of compliance on its own.

Questions people ask after seeing the Compute Engine SSH warning

Is my SSH connection still encrypted if the warning appears?

Yes. The warning means the key exchange phase is not using a post-quantum algorithm, so the session is still encrypted with a classical key exchange. Google's page separates three SSH phases: key exchange (KexAlgorithms), authentication, and session encryption (Ciphers). Post-quantum protection applies to the key exchange phase only, so the warning concerns how the session key is agreed, not whether traffic is encrypted. Read the debug1: kex: algorithm: line with ssh -v to see which algorithm your connection actually negotiated.

Is this warning urgent for my Compute Engine VMs?

The warning itself does not show that a breach has happened or that a connection is unsafe today. It shows that the key exchange on that connection is classical. Whether you act now depends on how long data protected by that exchange must stay confidential and on your own compliance obligations, which your security and compliance teams should set. Plan the change on your normal maintenance schedule, starting with a check of your client versions. Confirm your organization's requirements with your compliance team rather than relying on this page for a deadline.

Can I ignore or silence the SSH warning on Compute Engine?

You can ignore it for now without breaking connections, since classical clients still connect to the VM. Silencing it is a different matter: the warning comes from the client, so the fix is to configure the client to prefer post-quantum algorithms, not to hide the message. If you suppress it, you lose the signal that a connection is not using post-quantum key exchange, which is the evidence your auditors and security reviewers will ask about. Keep the warning visible and record which connections still show it.

Why does this SSH warning appear now on Google Compute Engine?

The warning appears when your client offers only classical key exchange algorithms or is too old to offer post-quantum ones. Google's page says post-quantum SSH key exchange needs OpenSSH 9.0 or later on the client (ssh -V shows the version) and PuTTY 0.78 or later, with 0.83 or later for ML-KEM. Many workstations, CI runners and images still ship older clients, so the warning shows up on connections that worked before. Check the client version first, since that is usually the cause.

What if I cannot upgrade my SSH client or the VM image?

If you cannot upgrade the client, the connection will keep using a classical key exchange and will keep showing the warning. You still have options. Google's page notes that classical clients can still connect to a VM running OpenSSH 9.0 or later, so the server side does not need to change for them to work. Record which clients and VMs cannot be upgraded, and plan to replace them on your normal schedule. The Google page's list of images shows that Ubuntu 22.04, Debian 11 and RHEL 9 ship earlier OpenSSH versions without post-quantum key exchange, so check which image each VM runs before you plan the upgrade.

Does SSH-in-browser in the Google Cloud console need a change?

No. Google's page says SSH-in-browser in the Google Cloud console prefers post-quantum algorithms automatically and needs no workstation configuration. You do not have to change your browser or local settings for connections made through it. Confirm the result by checking the connection's key exchange in a test session if your review requires evidence. The change you do need to make concerns the command-line clients, such as gcloud compute ssh and plain ssh, which use your own local configuration.

Does post-quantum protection cover SSH user authentication too?

No. Google's page says that standard OpenSSH does not yet use post-quantum signatures for user authentication, so post-quantum protection covers key exchange only. Your SSH keys and certificates for logging in are still classical. Treat the key exchange change as one step and plan for authentication separately, because a post-quantum key exchange does not make your login keys post-quantum. Confirm with your key and certificate owners what they use before you describe the result to an auditor.

How DeployOpen helps plan and document this change

DeployOpen approaches the SSH post-quantum key exchange warning on Google Compute Engine as a planned change to how administrators and users connect. The work covers which clients and VMs need checking, the client configuration and optional server setting, and the evidence that each connection now negotiates a post-quantum key exchange.

How we scope

  • We inventory the VMs, SSH clients, gcloud users and PuTTY installs that connect to your Compute Engine instances.
  • We identify which VMs run OpenSSH 9.0 or later and which older images need a separate plan.
  • We agree a fixed-scope written plan covering client changes, the optional strict server setting and rollback steps.
  • Ongoing support for upgrades and re-testing is available as a retainer if your fleet changes over time.

How we build

  • We set KexAlgorithms in the SSH config files on administrator workstations, following Google's recommended ordered list.
  • We test the strict server setting on a non-production VM first, validating it with sshd -t before reloading sshd.
  • We confirm the negotiated algorithm with ssh -v or gcloud compute ssh -- -v on representative connections.
  • We prepare a lockout recovery path using the serial console or startup-script method before any strict setting is applied.

How we hand over

  • We document each VM, its OpenSSH version and the client settings that were changed and why.
  • We record the debug1 kex algorithm output for each tested connection as evidence that post-quantum key exchange is active.
  • We give your team a written runbook for adding new clients, checking the warning and reverting a failed change.
  • We list any VMs on older images that still cannot offer post-quantum key exchange, so you can plan for them.

How we support

  • We can re-check connections after OS upgrades, new VM images or changes to your gcloud or PuTTY versions.
  • We can help your security and compliance teams review the change records and connection evidence.
  • We can rerun the connection checks after any change to sshd_config or client configuration files.
  • Support scope and cadence are agreed in writing, and ongoing work is available under a retainer.

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.