Fix the SSH post-quantum key exchange warning on Fortinet FortiOS

On FortiOS, the OpenSSH 10.1 warning means the administrative SSH session did not negotiate a post-quantum key exchange. Firewall administrators check the FortiOS release and the ssh-kex-algo list, then change the setting where the release supports it.

On this page

What the SSH post-quantum warning means on FortiOS and who has to act

An OpenSSH 10.1 client printed the post-quantum key exchange warning when it connected to the administrative SSH service on a FortiGate. The session is still encrypted. What the warning reports is that the key exchange used to set up that encryption is not a post-quantum algorithm. Nothing in the message means the connection is broken or that traffic is being read by someone else. The firewall administrator is the person who acts, because the algorithms offered by the FortiGate's SSH service are set on the firewall itself, not on the client. The fix depends on the FortiOS release running on the device, so the first step is to confirm that version before changing anything.

The two FortiOS references the facts point to differ in a way that matters for the work. The FortiOS 8.0.0 CLI reference lists mlkem768x25519-sha256 among the default ssh-kex-algo values, while the FortiOS 7.6.4 reference lists a default and full option set that ends at ecdh-sha2-nistp521 and contains no post-quantum entry. An administrator on 7.6.4 therefore has no documented post-quantum SSH key exchange to enable, so the warning should be expected on that release. Run get system status after logging in over SSH to read the installed version, and compare it against the documentation for that exact release rather than assuming the newest one applies.

Ownership sits with whoever administers the firewall, usually the network or security operations team, with change approval from the owner of the management plane. Before editing anything, that person should record the current ssh-kex-algo value, because a change to the SSH algorithm list affects every administrator who logs in over SSH, including automation and scripts that depend on specific algorithms. Some older releases place these settings under config system global instead of config system ssh-config, so confirm the path in the reference for the installed version. The FortiOS 8.0.0 reference also shows that mlkem768x25519-sha256 may already have been removed from the list, in which case restoring it is a configuration change rather than a feature upgrade. Plan the window and inform any teams that run scripted SSH sessions to the device.

Who controls the SSH key exchange on a FortiGate

Three groups shape whether a FortiGate offers a post-quantum SSH key exchange: the firewall administrator who sets ssh-kex-algo, the network team that owns the change window, and the users or automation that connect. The warning appears only when the FortiGate's offered list and the OpenSSH 10.1 client's preferences do not overlap on a post-quantum option, so each group has a part to check.

Firewall administrator sets the algorithm list

The administrator controls the key exchange through set ssh-kex-algo in config system ssh-config on FortiOS 8.0.0, or under config system global on older releases such as 7.0.2. The FortiOS 8.0.0 reference lists mlkem768x25519-sha256 among the defaults, but the 7.6.4 reference does not list it at all. Before changing anything, the administrator should run get system status to confirm the exact FortiOS version and check whether the post-quantum option appears in the current list. If it is missing on a release that documents it, restoring it is the first change to make.

FortiOS 8.0.0 CLI reference

Release version limits the options

The option set depends on the FortiOS release and may differ between models, as the 7.6.4 reference notes. On a release that does not document mlkem768x25519-sha256 for ssh-kex-algo, no post-quantum key exchange can be enabled, so the OpenSSH 10.1 warning is expected and cannot be cleared by a setting change alone. The network team should weigh that against an upgrade path and confirm the option list on its own model before scheduling work.

FortiOS 7.6.4 CLI reference

Network team owns the change window

Changes to ssh-kex-algo alter how every administrator connects to the firewall, so the network team should schedule them in a maintenance window and keep an active console or out-of-band session open. The administrator should record the current list before editing, since the rollback is restoring that same list. Removing SHA-1 options or other algorithms in the same edit can lock out older management clients, so only the intended change should go in that window.

SHA-1 options need a strong-crypto check

On FortiOS 7.0.2, the SHA-1 key exchange options diffie-hellman-group14-sha1 and diffie-hellman-group-exchange-sha1 become available only when strong-crypto is disabled, and they are not available while it is enabled. Enabling SHA-1 options to satisfy an older client does not add a post-quantum exchange. The network team should confirm whether strong-crypto is set before changing the list, because the two settings interact.

FortiOS 7.0.2 SSH ciphers article

Users and automation connect with OpenSSH 10.1

Operators and scripts using OpenSSH 10.1 or later print the warning when the negotiated exchange is not post-quantum. The client cannot force a post-quantum exchange that the FortiGate does not offer, so the fix is on the server side. To confirm the change, the operator should reconnect without a KexAlgorithms setting in the client configuration, because a user-set KexAlgorithms hides the warning and does not prove the FortiGate negotiated a post-quantum exchange.

OpenSSH 10.1 source

Automation that pins key exchange

Jobs that set KexAlgorithms in a config file or on the command line will suppress the warning while leaving the FortiGate's negotiation unchanged. The team that owns those scripts should list each one that pins an algorithm and remove the pin during verification. Keeping the pin in place after the firewall change makes the result look fixed when the underlying exchange has not been tested.

How to check which FortiOS release and SSH key exchange list is running

This sequence confirms which FortiOS release the firewall runs and which SSH key exchange algorithms it currently offers for administrative access. The result tells you whether a post-quantum option is available to enable, and what to change next.

  1. Open an SSH session to the firewall

    Connect to the FortiGate's management address over SSH using an administrator account that has CLI access. Use the same client and path that triggers the OpenSSH warning, so the session you check is the one that matters. You know the step is done when you reach the FortiGate CLI prompt after logging in. If the login fails, confirm that SSH administrative access is enabled on the management interface and that your source address is allowed by the trusted hosts settings for the administrator account.

  2. Read the version line from system status

    At the CLI prompt, run get system status. In the output, find the line beginning with Version:, which shows the model and firmware release, for example a line in the form Version: FortiGate-101F v7.0.2. Record the release number, because the location of the SSH key exchange setting depends on it. You know the step is done when you have written down the full release number and model. The reference for this format is the Fortinet FortiOS 7.0.2 SSH ciphers article.

  3. Locate the SSH key exchange setting for your release

    On FortiOS 8.0.0, the administrative key exchange setting is set ssh-kex-algo under config system ssh-config. On FortiOS 7.0.2, the same ssh-kex-algo setting sits under config system global instead. Use the release number from the previous step to pick the correct path. If your release falls outside these two versions, check the CLI reference for your exact build, because the path may differ. You know the step is done when you have identified the one configuration block that applies to your release.

  4. View the current ssh-kex-algo list

    Enter the block you identified, then run show to display the current configuration. On FortiOS 8.0.0, run show system ssh-config from the global configuration context, or enter config system ssh-config and run show. Read the set ssh-kex-algo line and list every algorithm it contains. You know the step is done when you have the complete list. If the list does not include mlkem768x25519-sha256, note that as a finding, since it is the post-quantum option the 8.0.0 reference lists among its defaults.

  5. Compare the list against the release defaults

    Check the active list against the default list in the CLI reference for your release. The 8.0.0 reference lists diffie-hellman-group14-sha256, diffie-hellman-group16-sha512, diffie-hellman-group18-sha512, diffie-hellman-group-exchange-sha256, curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521 and mlkem768x25519-sha256 as defaults. The 7.6.4 reference has no mlkem768x25519-sha256 entry in its option set, so a post-quantum option is not documented there. Note any algorithm present in the active list but absent from the defaults, and any default that has been removed. You know the step is done when you can state which differences exist and which release they apply to.

  6. Confirm the warning clears after a change

    If you restore or add mlkem768x25519-sha256 on FortiOS 8.0.0, list it in set ssh-kex-algo with the other algorithms you want to keep, separated by spaces, then save the change. Reconnect from an OpenSSH 10.1 or later client without a KexAlgorithms setting, because a user-set KexAlgorithms hides the warning and does not show what the FortiGate negotiated. You know the step is done when the reconnect no longer prints the warning. On a release with no documented post-quantum option, expect the warning to remain and plan the next step with your vendor.

Which FortiOS releases offer mlkem768x25519-sha256 and why the warning appears

This table maps each FortiOS release or configuration state to whether mlkem768x25519-sha256 is offered, and what to change if the OpenSSH warning appears. Read each row against the release shown by get system status, then follow the fix in the matching column. The main takeaway is that FortiOS 7.6.4 documents no post-quantum SSH key exchange option, so the warning on that release cannot be cleared by a setting change alone.

CauseWhat the reference documentsFix
FortiOS 8.0.0 with default ssh-kex-algomlkem768x25519-sha256 is listed as a default value for ssh-kex-algo in the 8.0.0 CLI referenceConfirm the default has not been overridden, then reconnect with OpenSSH 10.1 or later and check that the warning no longer appears
FortiOS 8.0.0 with an edited ssh-kex-algo listAn administrator-set list may omit mlkem768x25519-sha256, since the list is replaced when setAdd mlkem768x25519-sha256 to set ssh-kex-algo inside config system ssh-config, keeping the other algorithms in the same space-separated list
FortiOS 7.6.4The 7.6.4 CLI reference lists no mlkem768x25519-sha256 entry for ssh-kex-algo, and notes that values may differ between modelsNo documented post-quantum SSH option to enable; check the release notes or Fortinet support for a later release that adds one
FortiOS 7.0.xThe 7.0.2 article places ssh-kex-algo under config system global, not config system ssh-configConfirm the syntax for your build in its documentation before editing, since the option list on 7.0.x is not covered by the sources listed here
SHA-1 key exchange options enabledThe 7.0.2 article says SHA-1 options become available when strong-crypto is disabled; the 8.0.0 reference lists SHA-1 options as selectableRemove SHA-1 options from ssh-kex-algo and enable strong-crypto where your policy requires it

Why FortiOS 7.6.4 keeps showing the warning

If your FortiGate runs FortiOS 7.6.4 and OpenSSH 10.1 or later keeps printing the warning that the connection is not using a post-quantum key exchange algorithm, the cause is in the release itself, not in your configuration. The FortiOS 7.6.4 CLI reference lists the default and full option set of set ssh-kex-algo under config system ssh-config as ending at ecdh-sha2-nistp521, with no mlkem768x25519-sha256 entry. An administrator on this release therefore has no documented post-quantum SSH key exchange option to enable, so the warning is expected against 7.6.4. Before you spend time on settings, confirm the version with get system status over SSH, since the output includes a line such as Version: FortiGate-101F v7.6.4.

The 7.6.4 reference also notes that values may differ between models, so do not assume the option list you see in a reference applies to every FortiGate you manage. Check the CLI on the specific device, or the reference for the exact build it runs, with set ssh-kex-algo and the help text that the CLI prints. If the option is absent there too, the setting cannot be changed on that unit, and the warning will remain until the device moves to a release that documents the option.

The fix path is therefore an upgrade to a FortiOS release whose CLI reference documents mlkem768x25519-sha256 for ssh-kex-algo. The 8.0.0 reference lists it, and also shows it among the defaults. Plan the upgrade through your normal change process, and after it, verify that the option is present and, if needed, restore it by listing it in the space-separated set ssh-kex-algo value with the other algorithms you keep. Then confirm the result with an OpenSSH 10.1 or later client connecting without a KexAlgorithms setting, because a user-defined KexAlgorithms hides the warning without proving the FortiGate negotiated a post-quantum exchange.

How to restore mlkem768x25519-sha256 in ssh-kex-algo on FortiOS 8.0.0

This sequence restores the mlkem768x25519-sha256 key exchange option in the FortiOS 8.0.0 SSH configuration so that administrative SSH sessions can offer a post-quantum key exchange again. You back up the current configuration first, then add the algorithm to the list of algorithms the device keeps, apply the change and confirm it from a client.

  1. Back up the current configuration

    Before you change anything, log in to the FortiGate over an existing session and save a copy of the running configuration. Use the GUI backup option or the CLI command that exports the config to a file, and store the file somewhere outside the device. You know the backup is complete when the file opens and contains the system ssh-config section. Keeping this copy lets you return to the previous state if the change does not behave as expected. Make the change from your own admin session on the device, so you can see its output and roll back if needed.

  2. Enter the SSH configuration context

    From the CLI of the FortiGate, enter global configuration mode and then the ssh-config context with the command config system ssh-config. The prompt changes to show you are inside that object. Run get at this prompt to display the current settings, including the current ssh-kex-algo value. Note which algorithms are listed, because the next step keeps all of them and only adds the post-quantum option. You know you are in the right place when the prompt reflects the ssh-config context and get returns the SSH settings.

  3. Check the current ssh-kex-algo value

    Review the ssh-kex-algo value shown by get and confirm whether mlkem768x25519-sha256 is present. Compare the list against the defaults in the FortiOS 8.0.0 CLI reference, which include mlkem768x25519-sha256 among the algorithms. If the option is already listed, no restore is needed, and you should move to confirming the connection. If it is missing, the list on your device is the one you will extend in the next step. The 8.0.0 reference option list does not include sntrup761x25519-sha512, so do not add that value.

  4. Set ssh-kex-algo with the post-quantum option

    Run set ssh-kex-algo followed by every algorithm you want to keep, separated by spaces, and include mlkem768x25519-sha256 in that list. Enter the existing algorithms from the previous step so that none are dropped, then add the post-quantum option at the end. The FortiOS 8.0.0 reference describes this setting as selecting one or more SSH key exchange algorithms. Exact spelling matters, so type each name as the reference shows it. You know the command was accepted when the CLI returns without an error about an invalid option.

  5. Apply the change and exit the context

    Save the change by exiting the ssh-config context and confirming any prompt the CLI shows. Some FortiOS releases apply the setting immediately, and others need a separate confirmation step, so read the output carefully. Then return to the top level of the CLI. You know the change is in effect when running get inside the context shows mlkem768x25519-sha256 in the ssh-kex-algo line. Check the device's own version output with get system status if you need to confirm you are on 8.0.0 before relying on this procedure.

  6. Confirm the warning is gone from a client

    Open a new SSH connection to the FortiGate from an OpenSSH 10.1 or later client, without any KexAlgorithms setting in your client configuration, because a user-set KexAlgorithms hides the warning and would not show that the device negotiated a post-quantum exchange. Watch the connection output for the warning text. If it no longer appears, the device is offering the restored algorithm. If it still appears, return to the configuration, confirm the spelling of the algorithm name, and check that the change was saved.

  7. Keep the backup for rollback

    Retain the configuration backup taken in the first step until the connection test has passed and your change record is complete. If the restored setting causes a problem with administrative access, use the backup or reverse the ssh-kex-algo edit to return the device to its prior state. Record the version, the time of the change and the client used for the test, so the result can be reviewed later. Because these steps run in the device's own admin session, make sure you still have a working connection path before you close your current session.

How the change differs on 7.0.x, 7.6.x and 8.0.x FortiGates

On FortiOS 8.0.0, SSH administrative key exchange is set under config system ssh-config with the set ssh-kex-algo command, which accepts one or more algorithms separated by spaces. The CLI reference lists mlkem768x25519-sha256 among the default values, so a unit that has kept its defaults already offers a post-quantum hybrid exchange. The option list also includes the SHA-1 exchanges diffie-hellman-group1-sha1, diffie-hellman-group14-sha1 and diffie-hellman-group-exchange-sha1, which you should select only when a legacy client requires them.

  • Command path: config system ssh-config, then set ssh-kex-algo followed by the algorithms to keep, separated by spaces.
  • Default list: the reference includes mlkem768x25519-sha256 along with the classical groups and curves.
  • Restoring the algorithm: if mlkem768x25519-sha256 was removed, add it back to the same space-separated list.
  • Option gap: sntrup761x25519-sha512 does not appear in the 8.0.0 option list, so do not plan around it.
  • Legacy exchanges: the SHA-1 options are listed but add weaker exchanges, so enable them only with a documented reason.

After any change, confirm the new list with show and then reconnect from a current OpenSSH client to check the result.

How to confirm the FortiGate stops triggering the warning

The check that proves the fix is a plain reconnect with an OpenSSH 10.1 or later client, run without a KexAlgorithms setting in the client configuration. The warning comes from that client, so it is the only tool here that reports what the FortiGate actually negotiated. Confirm the client version with ssh -V first, then connect to the FortiGate administrative SSH port using a bare command such as ssh admin@<fortigate-address>, and check the output for the warning. A user-set KexAlgorithms hides the warning without proving anything, because the client then offers only the algorithms the administrator chose and never reports on the exchange it negotiated. Remove any such line from ~/.ssh/config and from any -o options in scripts before testing, and check system-wide configuration under /etc/ssh/ssh_config and /etc/ssh/ssh_config.d/ as well.

Success means the connection completes and no post-quantum warning is printed. Before reading that as a fix, confirm the version the FortiGate is running, because the sources do not show the same key exchange options on every release. Log in and run get system status, then compare the Version: line against the CLI references. On FortiOS 8.0.0, check that mlkem768x25519-sha256 appears in set ssh-kex-algo under config system ssh-config, and restore it with the other algorithms you need if an earlier change removed it. On FortiOS 7.6.4, the reference lists no post-quantum SSH key exchange option, so a remaining warning there is expected and should be recorded as a release limitation for the change record, not a misconfiguration. On releases older than 7.6.x, the same settings sit under config system global, so look there before concluding the option is missing.

In later sessions, keep the same test in place rather than treating one clean login as permanent. A firmware upgrade or downgrade can change the default ssh-kex-algo list, and a configuration restore can bring back an older list, so repeat the bare reconnect after each change. Keep the FortiOS version and the ssh-kex-algo value in the change record next to the test result, since the warning can return without any edit on your side. Also watch the SHA-1 options: the 7.0.2 article says they appear only with strong-crypto disabled, so re-enabling strong cryptography can remove them, and an automated job that relies on a SHA-1 exchange will then fail. Confirm with the owners of any scripts or backup tools that use these sessions before making that change.

What can break when you change ssh-kex-algo on FortiOS

Changing ssh-kex-algo alters which key exchange methods your FortiGate offers to every SSH client that connects to it. The risks below fall into three groups: clients and scripts that depend on the current list, the chance of locking yourself out, and settings that restrict which options are available at all.

Older SSH clients may not support the new option

Older SSH clients and appliances may not offer mlkem768x25519-sha256 during key exchange. If you remove the algorithms they depend on and they cannot negotiate a remaining one, their sessions to the FortiGate will fail. Before you change the list, identify which administrative clients connect over SSH, check each client's supported key exchange methods, and keep at least one algorithm that every client already uses. Test each client type against the change before you apply it to production.

Scripts that pin an algorithm list

Automation that connects to the FortiGate, such as backup jobs, configuration pushers or monitoring tools, may set a fixed KexAlgorithms list in its SSH configuration. A script pinned to classic groups will keep working, but a script that expects a specific algorithm name to appear may break after a firmware upgrade or a list change. Search your automation for hard-coded KexAlgorithms values and for any code that parses the output of get system status or show full-configuration. Update those lines together with the FortiGate change.

FortiOS 8.0.0 CLI reference

Lockout risk without an out-of-band console

If you change ssh-kex-algo over an SSH session and the new list leaves no algorithm your management client supports, the next connection will fail and you will lose remote access. Recovery then depends on a console path that does not use SSH, such as a serial connection, a physical console port or an out-of-band management network. Confirm that one of these paths works and that you know its credentials before you edit the setting. Keep the existing SSH session open while you test a new connection in a separate window.

Strong-crypto limits the available options

When strong-crypto is enabled, the SHA-1 key exchange options diffie-hellman-group14-sha1 and diffie-hellman-group-exchange-sha1 are not available for ssh-kex-algo. Clients that only offer SHA-1 exchanges will then have no match on the FortiGate, even if you keep other options in the list. Check whether your compliance baseline requires strong-crypto and whether any client depends on SHA-1 before you rely on a legacy option. Confirm the current strong-crypto state in your device configuration.

FortiOS 7.0.2 SSH ciphers

Model and release differences in the option list

The FortiOS 7.6.4 CLI reference notes that option values may differ between models, and it does not list mlkem768x25519-sha256 at all. A change that works on one FortiGate model or release may fail on another, and a list copied from one device may include names the other does not accept. Before you apply a list, check the CLI reference for your exact release and model, and run the change on a single device first. Record the resulting list so that you can restore it if needed.

When to get outside help with the FortiOS SSH change

Some FortiOS SSH changes are straightforward for an in-house administrator, but several situations call for outside help. The first is a release that cannot be upgraded. The FortiOS 7.6.4 CLI reference, which is the release most administrators will see in the field, lists ssh-kex-algo options that end at ecdh-sha2-nistp521 and show no mlkem768x25519-sha256 entry. If your fleet is on that release and a move to a newer FortiOS branch is blocked by change freezes, hardware limits, or certification requirements, the warning will persist. In that case, a planning exercise is needed to decide whether to upgrade, replace the device, or accept the warning under a documented risk decision. Confirm the exact options your model supports with the vendor, because the CLI reference notes that values may differ between models.

The second case is a firewall managed by another party. Managed security providers, outsourced network teams, and hosting partners often control the management plane, and the administrator who sees the warning may not hold the credentials to change ssh-kex-algo. Before anyone edits the list, confirm who owns the change, who approves it, and who will run the verification with an OpenSSH 10.1 or later client. Contracts that cover patching or configuration changes should be checked for whether SSH cipher settings are in scope.

The third case is a large fleet. When many FortiGates share the same ssh-kex-algo list, a single unreviewed change can alter access for every administrator, script, and monitoring tool that relies on SSH. Changes need a staged rollout, a record of the prior value, and a rollback plan. A regulated environment adds a fourth case: auditors may ask for evidence of the change, including before-and-after configuration output, the version reported by get system status, and proof of the confirmation test. DeployOpen plans, tests and documents these changes in your environment, but it does not issue audit reports or attestations; independent auditors and certification bodies provide those.

Questions administrators ask after seeing the FortiOS SSH warning

Is my SSH session to the FortiGate still encrypted when the warning appears?

Yes. The warning means the connection did not negotiate a post-quantum key exchange algorithm, not that the session is unencrypted. OpenSSH still uses a classical key exchange and encrypts the session with the negotiated cipher. What changes is the protection against a future quantum computer that could break classical key exchange on traffic recorded today. The FortiOS 8.0.0 CLI reference documents the setting ssh-kex-algo under config system ssh-config, which controls which key exchange algorithms the FortiGate offers. Check the algorithm your session actually negotiated before assuming the cause is the firewall.

Is the FortiOS SSH key exchange warning urgent?

It is a planning item, not an emergency. The warning tells you that this connection does not use a post-quantum key exchange, which matters most for sessions whose recorded traffic could be decrypted later. Treat it as a work item with an owner and a target release. Prioritize it if your management traffic crosses untrusted networks or if your compliance team has set a post-quantum migration deadline. Confirm your timeline with your compliance and security leads, because the sources listed on this page do not set a deadline for your organization.

Can I silence the OpenSSH post-quantum warning on FortiOS?

You can hide it on the client, but that does not fix the firewall. OpenSSH stops printing the warning when the user sets a KexAlgorithms value in their client configuration. That setting also hides the warning when the negotiated exchange is not post-quantum, so it proves nothing about the FortiGate. To check the real state, connect with an OpenSSH 10.1 or later client that has no KexAlgorithms setting. If the warning still appears, the FortiGate is not offering a post-quantum exchange, and the fix belongs in the FortiOS configuration or the firmware.

Why does the FortiOS SSH warning appear after a version change?

The list of key exchange algorithms depends on the FortiOS release. The FortiOS 7.6.4 CLI reference lists the default and full set of ssh-kex-algo options ending at ecdh-sha2-nistp521, with no mlkem768x25519-sha256 entry, and it notes that values may differ between models. The FortiOS 8.0.0 CLI reference lists mlkem768x25519-sha256 among the defaults. A release that does not offer that algorithm will produce the warning with OpenSSH 10.1, even when the configuration is otherwise correct. Confirm the exact list on your model and version in the Fortinet documentation before you change anything.

Where do I check the installed FortiOS version and the SSH key exchange setting?

Log in over SSH and run get system status. The output includes a line such as Version: FortiGate-101F v7.0.2, which tells you the model and release. On FortiOS 8.0.0 and later, view the algorithm list under config system ssh-config. On older releases, the SSH settings, including ssh-kex-algo, sit under config system global instead. The FortiOS 7.0.2 article gives this syntax. Record the output before making a change, so you can compare it after the upgrade or configuration edit.

How do I restore the post-quantum key exchange if it was removed from the FortiGate?

On FortiOS 8.0.0, you can restore it by listing mlkem768x25519-sha256 in set ssh-kex-algo inside config system ssh-config. Enter all algorithms you want to keep in the same space-separated list, because the setting replaces the whole list rather than adding to it. Take a configuration backup first, and check the list against the 8.0.0 CLI reference for your model. Then reconnect with OpenSSH 10.1 or later, without a KexAlgorithms setting, and confirm the warning is gone.

What should I do if my FortiGate cannot be upgraded to a release that offers the algorithm?

If the release cannot be upgraded, the sources listed on this page do not describe a post-quantum key exchange option for that release, so you cannot fix the warning in the SSH configuration alone. Options to evaluate with your vendor and security team include restricting management access to trusted networks, using a jump host or VPN for administrative sessions, and putting an upgrade on the roadmap. Confirm with Fortinet which releases support the algorithm and whether a supported upgrade path exists for your model. Document the accepted risk and the review date.

Can my team handle this fix ourselves, or do we need outside help?

Many administrators can handle the check and the configuration change themselves: confirm the version, compare the algorithm list in the CLI reference, back up the configuration, make the change and retest with a current OpenSSH client. The work becomes harder when you run many FortiGates, when the upgrade path is unclear, or when a compliance assessment needs evidence of the change. DeployOpen plans and implements these changes and prepares the evidence for compliance reviews, under a written, fixed scope. It does not issue audit reports or certifications. Ask for a written scope and the deliverables before you engage anyone.

How DeployOpen helps plan and verify FortiOS SSH changes

DeployOpen works through the FortiOS SSH key exchange setting in three stages: we confirm the release running on your FortiGate, plan the change to the algorithm list, and verify the result with a client that reports the warning. Engagements are fixed-scope, with the scope agreed in writing before any change is made to your firewall.

How we scope

  • We confirm the exact FortiOS version on each FortiGate, since the ssh-kex-algo defaults differ between 7.6.4 and 8.0.0.
  • We record the current ssh-kex-algo list on each device so the written scope shows what changes and what must stay.
  • We agree in writing which devices, administrators and SSH clients are in scope, with a fixed scope and deliverables before work starts.

How we build

  • We plan the ssh-kex-algo change under config system ssh-config on 8.0.0, or under config system global on older releases.
  • We keep the algorithms your administrators and automated jobs depend on in the list, so existing SSH sessions keep working.
  • We apply the change in a maintenance window you approve, with a documented rollback to the previous list.

How we hand over

  • We document the final ssh-kex-algo list for each device, with the commands used and the FortiOS version each applies to.
  • We confirm the warning is gone by reconnecting with OpenSSH 10.1 or later without a KexAlgorithms setting, and record the result.
  • We flag any FortiGate on a release without a documented post-quantum key exchange option, so you can plan the upgrade path.

How we support

  • Ongoing support and upgrades are available as a retainer, covering FortiOS releases you move to later.
  • We can retest the SSH configuration after each FortiOS upgrade, since defaults may change between releases.
  • Quotes follow from the written scope, so ask for the scope, deliverables and retest steps to be itemized in the quote.

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.