Fix the SSH post-quantum key exchange warning on Cisco NX-OS

On Cisco NX-OS, the warning means the SSH session did not negotiate a post-quantum key exchange. Network engineers and administrators of Nexus switches need to check the negotiated algorithm and the NX-OS release, then act.

On this page

What the SSH post-quantum warning means on a Cisco Nexus switch

When a Cisco Nexus switch running NX-OS shows the SSH post-quantum warning, the SSH session you opened to it did not negotiate a post-quantum key exchange. Network engineers and the administrators who manage Nexus access are the people who have to act, because the switch's SSH settings decide which key exchange algorithms are offered and accepted. The session is still encrypted. It uses classical key exchange algorithms, which protect the traffic against attackers today but are the category that future quantum computers are expected to threaten. The message is not, by itself, an outage, and it does not mean your switch has stopped working or that a connection has been compromised.

How urgent this is depends on two things: the sensitivity and required lifetime of the data that crosses these management sessions, and the reviews your organization faces, such as customer security questionnaires, internal audit requests or contract terms that ask about post-quantum readiness. If management traffic carries credentials or configuration that would stay sensitive for many years, the gap deserves a planned change sooner rather than later. If it does not, the work can sit in your normal change schedule. Either way, record the warning and the decision you made, so the reasoning is available when a reviewer asks.

The sources listed on this page do not name the post-quantum key exchange algorithms that NX-OS supports. Cisco's data sheet confirms post-quantum cryptography support for SSH in release 10.7(1)F on CloudScale and Silicon One Nexus switches, but it does not list the specific models or the algorithm names, and the 10.6(x) security guide lists only classical options. Before you change anything, confirm with Cisco which algorithm names your platform and release accept, and check your exact model and NX-OS version against the data sheet.

Who has to act on the warning and what each party controls

The warning on Cisco NX-OS is resolved by different people for different reasons: the switch owner, the SSH client operator, change control and, for release questions, Cisco support. Each party controls a different part of the connection, so identify which one you are before you change anything.

Network engineer who owns the switch

This is the person who manages the Nexus switch configuration and can set the NX-OS release. On a switch you manage, you can check the running release and review the key exchange settings with the ssh kexalgos command, as documented in the Cisco Nexus 9000 10.6(x) security guide. Check whether the switch offers any post-quantum key exchange algorithm at all, because the sources listed on this page do not name one for NX-OS. Confirm the exact supported list with Cisco for your release before making changes.

Nexus 9000 security guide

Administrator who runs the SSH client

This is the person who connects to the switch from a workstation or jump host. You control the client build and its configuration, but you cannot change which key exchange algorithms the switch offers. To see what the switch offers, run ssh -vvv <hostname> from the client and read the negotiated algorithms in the output, as shown in Cisco's Nexus key exchange article. If the warning persists, record the client version and the switch release, then pass both to the switch owner.

Nexus KEX article

Change control team

This team approves changes to switch configuration and NX-OS releases in production. They decide when the ssh kexalgos setting or a software upgrade can be applied, and they require a rollback plan and a maintenance window. They cannot make the switch offer algorithms the platform does not support. Ask them to record the current running configuration and the target release before any change is scheduled.

Cisco support for release questions

Cisco support answers questions about which NX-OS release adds post-quantum SSH support on a given Nexus model. Cisco's data sheet lists post-quantum SSH support as new in release 10.7(1)F across CloudScale and Silicon One Nexus switches, but it does not name specific models or algorithms. Ask Cisco to confirm model eligibility, the algorithm names, and whether a configuration change is required in your release. Keep their written answer with your change record.

NX-OS data sheet

How to check which key exchange the Nexus switch offers and negotiates

This sequence confirms the NX-OS release on the switch, then shows the key exchange algorithms the switch offers to a client and the list the switch itself reports with status and FIPS flags. Together the results show whether any post-quantum key exchange is available before you change anything.

  1. Confirm the NX-OS release running on the switch

    Log in to the switch with an administrator account and run the show version command to read the NX-OS release string. Record the full release, including the parenthetical train and letter suffix, because the available SSH options depend on it. Cisco's data sheet lists post-quantum cryptography support for SSH as new in release 10.7(1)F, so a release earlier than that is unlikely to offer post-quantum key exchange. You know this step is done when you have the exact release written down and can compare it with the release notes for your platform.

  2. Record the key exchange offered from a client

    From a client PC that normally connects to the switch, run ssh -vvv followed by the switch hostname, for example ssh -vvv <hostname>. Look in the debug output for the line that lists the key exchange algorithms the client sends and the server accepts. Copy that list into your notes so it can be compared with the switch configuration later. The output shows what the switch negotiates in this session, so you know this step is done when the algorithm list is captured with the hostname and time of the test.

  3. List the switch's key exchange algorithms

    On the switch, run show ssh kexalgos to list every KexAlgorithm the platform supports. Each entry shows its name, its status, and a FIPS flag indicating whether it is permitted in FIPS mode. Compare this list with the algorithms you captured from the client. You know this step is done when the full table is saved and every entry has both a status and a FIPS value.

  4. Check for post-quantum or hybrid entries

    Review the names in the switch output and the client output for any post-quantum or hybrid key exchange entry. The Cisco Nexus 9000 security guide for release 10.6(x) lists only classical algorithms such as curve25519-sha256, diffie-hellman-group14-sha256 and ecdh-sha2-nistp256, with no post-quantum or hybrid entries. If your release is 10.6(x), an unchanged switch will not show a post-quantum option, and this step is done when you have recorded that result. For other releases, confirm the list against the documentation for that release.

  5. Compare the release with the documented options

    Match the release from the first step against the Cisco documentation that covers it. Cisco's Nexus key exchange article, last updated 31 July 2026, covers Nexus 3000, 5000, 6000, 7000 and 9000 and lists no post-quantum or ML-KEM key exchange algorithms. If your switch is on a release where the documentation shows no post-quantum option, the warning will remain until a supported release is installed. You know this step is done when you have written down whether the release and the documented algorithm list agree.

  6. Document the results for the change record

    Save the release string, the client handshake output, the show ssh kexalgos table and your comparison in one place, labelled with the switch hostname and date. This record shows the current state before any upgrade or configuration change, and it is the baseline you will compare against after the change. You know this step is done when the record can be shared with your security and change review teams.

Causes of the warning on NX-OS and the fix for each

This table pairs each likely cause of the SSH post-quantum key exchange warning on Cisco NX-OS with the check that confirms it and the change that resolves it. Read it top to bottom, starting with the switch release, because the release determines which options are available. The main takeaway is that the warning depends on both the NX-OS release and the KexAlgorithms the switch is allowed to offer.

CauseHow to confirm itFix
Release predates 10.7(1)FCheck the running NX-OS version with show version. Releases earlier than 10.7(1)F predate the SSH post-quantum support listed in Cisco's data sheet.Plan an upgrade to 10.7(1)F or later, then confirm the release in the Cisco NX-OS Data Sheet for your switch model.
Switch runs 10.6(x) or earlier with only classical KexAlgorithmsThe 10.6(x) security guide lists only classical KexAlgorithms, with no post-quantum or hybrid entries. Run show ssh kexalgos to see the list the switch offers.Upgrade to a release that supports the post-quantum SSH option, then re-run show ssh kexalgos to confirm the new entry appears.
ssh kexalgos restricted to a short list that excludes newer optionsReview the running configuration for an ssh kexalgos line that names only a few algorithms. The all keyword enables every supported KexAlgorithm.Set ssh kexalgos all, or add the required algorithm name, then verify with show ssh kexalgos. Confirm the chosen name in the 10.6(x) guide for your release.
Client build does not offer a post-quantum key exchangeFrom a client, run ssh -vvv <hostname> and read the list of key exchange algorithms the switch offers. Compare it with what your client build sends.Update the SSH client to a build that offers a post-quantum key exchange. The switch cannot negotiate an algorithm the client does not send.
Intermediary or jump host negotiates on the pathConnect directly from the same client to the switch, bypassing the jump host, and compare the warning. Check the jump host's own SSH configuration and version.Update the jump host's SSH server and client so the negotiated exchange supports post-quantum key exchange, then retest the full path end to end.

What to change on the switch, in order

This sequence moves an NX-OS switch from classical-only SSH key exchange to a post-quantum configuration, with each change confirmed before the next one starts. The steps close with a check that the switch and your SSH client negotiate a post-quantum algorithm.

  1. Confirm the target release supports SSH PQC

    Before you schedule any change, check that your switch model and target software release include post-quantum SSH support. Cisco's NX-OS Software Data Sheet lists post-quantum cryptography (PQC) support for SSH as new in release 10.7(1)F across Cisco CloudScale and Silicon One Nexus switches. The data sheet does not name specific Nexus models for this feature, so confirm your exact platform with Cisco. Also note that PQC secure boot for the N9364E-SP2R-O and N9364E-SG2X-O is a separate feature and does not affect SSH. Your check is done when you have written confirmation that your model and release carry SSH PQC support. If your release is older than 10.7(1)F, the upgrade in the next step is required before any SSH change can apply.

  2. Plan the upgrade through the change window

    If the switch runs a release earlier than 10.7(1)F, schedule the software upgrade through your normal change window and follow Cisco's upgrade procedure for your platform. Record the current running release and the image you plan to load so you can roll back if needed. Confirm the switch's configuration is backed up before the upgrade starts. The step is done when the change record lists the source release, target release, rollback plan and the named approver. Do not change SSH settings on an older release that lacks the feature, because the commands in the next steps depend on the upgraded software.

  3. Identify the post-quantum algorithm names

    The Cisco sources you are working from do not name the post-quantum key exchange algorithms for these switches, and the NX-OS security guide for release 10.6(x) lists only classical algorithms. Read the release notes for your target release, or confirm the exact names with Cisco, before you enter any algorithm name. Do not use a name unless Cisco confirms it is supported on your switch and release. Once you have the names, the running list can be checked with ssh kexalgos, which shows each KexAlgorithm with its status and FIPS flag. The step is done when you hold a written list of confirmed algorithm names for your platform.

  4. Apply the SSH key exchange configuration

    In global configuration mode, apply the key exchange setting using the command documented for your release, either ssh kexalgos all to enable all supported KexAlgorithms or ssh kexalgos followed by a confirmed key-exchange-algorithm-name. The Cisco 10.6(x) security guide notes that from NX-OS 10.4(2)F any supported KexAlgorithm can be configured, and that the switch supports strong algorithms by default. Verify the change with show running-config and confirm that only the intended algorithms appear. The step is done when the running configuration shows the intended ssh kexalgos entry and no unexpected algorithms.

  5. Save the configuration

    Save the running configuration to startup so the SSH key exchange setting survives a reload. Use the copy running-config startup-config command on the switch and confirm the save completes without error. Then compare the startup configuration with the running configuration to make sure they match for the ssh kexalgos line. The step is done when the saved startup configuration contains the same SSH key exchange setting as the running configuration. An unsaved change will be lost on the next reload, so do not skip this step even if you plan to restart the SSH service.

  6. Restart the SSH service or reload as documented

    Restart the SSH service, or reload the switch if the vendor documentation for your release directs a reload for this change. Check the release notes or Cisco guidance to decide which applies, and do not assume a restart is enough. Schedule the restart inside the change window, because it can interrupt active management sessions. The step is done when the SSH service is running again and you can open a new management session to the switch.

  7. Verify the negotiated key exchange algorithm

    From a client PC, run ssh -vvv followed by the switch hostname to list the key exchange algorithms the switch offers and the one negotiated for the session. Cisco's Nexus KEX article describes this method for viewing the algorithms a Nexus switch offers. Confirm that the negotiated algorithm is one of the post-quantum names you confirmed in step three. The step is done when the verbose output shows a confirmed post-quantum algorithm as the negotiated key exchange. If the warning still appears, return to the algorithm names and confirm them with Cisco before changing the configuration again.

How the fix differs by Nexus model and environment

Switches running NX-OS 10.6(x) or earlier use the ssh kexalgos command to control which key exchange algorithms the SSH server offers. The 10.6(x) security configuration guide documents ssh kexalgos [all | key-exchange-algorithm-name] and lists only classical KexAlgorithms, with no post-quantum or hybrid entries. Because the guide lists no post-quantum options, you cannot enable an SSH post-quantum key exchange on these releases through the documented command, so the warning will keep appearing until you upgrade to a release that supports it.

  • Check the running release: Run show version and confirm the NX-OS version before you plan any change.
  • Review the offered list: Run show ssh server or ssh kexalgos to see which KexAlgorithms are enabled and their FIPS flags.
  • Note the all keyword: The all option enables every supported classical algorithm, which does not add post-quantum support.
  • Plan an upgrade: Treat a move to a release listed in the Cisco data sheet as the realistic path to SSH post-quantum support.

Before changing anything, confirm the exact feature list for your release with Cisco, because the data sheet does not name the key exchange algorithms.

How to confirm the switch no longer triggers the warning

Confirm the fix from the client side, because the warning is raised by the SSH client based on the key exchange it negotiates with the switch. After you apply a change on the Nexus switch, run ssh -vvv <hostname> from the same workstation, server or script host that reported the warning, and read the debug output as the connection is set up. The client prints the key exchange algorithms it offered and the one the server selected. Then run show ssh kexalgos on the switch and compare its list with the client output. If the change took effect, the switch should be offering the entries you enabled, and the client should be choosing one of them. Record the output with the date, the NX-OS release and the client version so the result can be repeated later.

Check what a successful negotiation looks like. The Cisco sources supplied for this topic do not show a post-quantum or hybrid key exchange entry in any show ssh kexalgos listing for release 10.6(x), and the Cisco NX-OS Data Sheet says the SSH post-quantum support arrived in release 10.7(1)F without naming the algorithms. Confirm the exact algorithm names in the Cisco documentation for your release and the switch model before you treat any entry as the one you need. If the output still shows only classical KexAlgorithms such as curve25519-sha256, diffie-hellman-group14-sha256 or ecdh-sha2-nistp256, the change has not taken effect. Do not accept a configuration that looks correct on paper until the negotiated algorithm in ssh -vvv output shows the change.

Watch the days after the change. The warning can still appear from clients that have not been updated, so review the client builds, scripts, jobs and logs that open SSH sessions to the switch, including automation tools and jump hosts. Check that their logs record the negotiated key exchange when they connect, and look for the warning text in any job output or monitoring alerts. Re-run ssh -vvv after any change to the switch software or the client, because a software upgrade can reset SSH settings or change the defaults. Keep the verification record with your change ticket so that an auditor or reviewer can see the before and after output.

What can break when the Nexus SSH algorithm list changes

Changing the key exchange list on a Nexus switch affects every client that connects to it, not only the ones you are testing with. The cards below cover the places where a changed list is most likely to break a login, a script or a compliance check, and the checks that catch those failures before a fleet-wide change.

Older SSH clients and scripts

Older SSH clients, embedded tools and automation scripts may offer only classical key exchange algorithms, and some may not offer any algorithm the switch now prefers. If the switch removes or reorders a method a client depends on, the connection fails during negotiation with no clear error for the operator. Run ssh -vvv <hostname> from each client type you support to see which algorithms the switch offers, then confirm each one still has a match in the client's own list.

Cisco KEX article

CI runners with pinned algorithms

Continuous integration runners and deployment pipelines often pin a specific KexAlgorithms list in a client configuration file or in a build image. A pinned list that does not include an algorithm the switch offers will fail on the next run, which can be far from the change that caused it. Search your pipeline repositories and runner images for KexAlgorithms and ssh_config overrides before you change anything on the switch.

Saved host keys and configuration assumptions

Changing the key exchange list alters the negotiation, but the host key a client has already saved stays the same unless you regenerate it. Scripts that hard-code an expected host key type or fingerprint, or that check for a specific algorithm in a configuration dump, may break even when the connection itself succeeds. Record the current show ssh kexalgos output and the host key fingerprints before the change so you can compare them afterward.

FIPS and compliance-mode markings

The show ssh kexalgos output flags each KexAlgorithm with its status and a FIPS indicator. If your switch runs in a compliance or FIPS-oriented configuration, an algorithm you enable may be marked as non-compliant even when it is accepted, and an auditor may read that marking as a finding. Confirm with your compliance owner which algorithms are acceptable in your environment and check the flags in the output against that list before and after the change.

Fleet-wide change after one test

Test the change with one client and in one maintenance window before you apply it to the rest of the fleet. Pick a client that matches your most common connection type and a switch that you can roll back without a site visit. Record each step, including the commands used to set ssh kexalgos, so that a failure on the first device can be reversed the same way on every other device.

Nexus 9000 SSH guide

When to get outside help with the NX-OS warning

Get outside help when the NX-OS warning cannot be closed by changing a setting alone. The most common case is that the team cannot upgrade to release 10.7(1)F or later. The Cisco NX-OS Software Data Sheet, updated 19 November 2026, lists SSH post-quantum cryptography support as new in 10.7(1)F across Cisco CloudScale and Silicon One Nexus switches, and the 10.6(x) security guide lists only classical key exchange algorithms. If your switches run an earlier release, the ssh kexalgos tuning in the 10.6(x) guide will not produce a post-quantum algorithm, so the upgrade becomes the real decision. Outside help can plan the upgrade sequence, check each switch's hardware and software compatibility against the data sheet, and document the change window and rollback path.

Outside help is also worth considering when the switches sit in a regulated environment that needs evidence of the change. Auditors and assessors usually ask for the before and after state of each device, the commands used, and the output that shows the new key exchange algorithm offered to a client. Capture that evidence with show running-config output, the ssh kexalgos settings, and an ssh -vvv <hostname> trace from a client, as the Cisco Nexus KEX article describes. Many switches and many clients raise the same concern: every device needs a record, and every client that connects over SSH needs to be checked against the new algorithm list. DeployOpen can plan, upgrade, configure and document the switches and the components around them, and can prepare the change records and inventory an assessor will request. DeployOpen does not issue audit reports or certifications. Independent auditors and certification bodies make those determinations.

The last condition is when the post-quantum algorithm names cannot be confirmed from the sources. The Cisco data sheet does not name the key exchange algorithms or the Nexus models that support SSH post-quantum cryptography, and the Cisco KEX article lists no post-quantum or ML-KEM entries. Before you commit to a change, confirm the exact algorithm names with Cisco for your specific model and release, and check the output of ssh kexalgos on a test switch running 10.7(1)F or later. If the names cannot be verified from Cisco's own documentation or support channel, do not assume a name. Ask for written confirmation first, and bring in outside help to verify and test the configuration in a lab before any production change.

Questions readers ask after seeing the NX-OS SSH warning

Is my SSH session still encrypted when the NX-OS warning appears?

Yes. The warning means the session did not negotiate a post-quantum key exchange algorithm, not that the session is unencrypted. The connection still uses classical key exchange and symmetric encryption. The warning tells you the key exchange is not quantum-resistant, which matters for traffic an attacker could record now and decrypt later. Check which KexAlgorithms your switch offers by running ssh -vvv <hostname> from a client, and review the ssh kexalgos settings in the Cisco Nexus 9000 10.6(x) Security Guide to see what your release supports.

Is the NX-OS SSH warning urgent for my network?

It is a planning item, not an emergency. The warning does not mean an active break-in or a broken session. Its urgency depends on how long the management traffic must stay confidential and on your organization's migration schedule. The sources listed on this page do not set a deadline for your environment, so confirm the timeline with your security and compliance owners. Prioritize the switches that carry sensitive management sessions, and plan changes through your normal change-control process.

Can I silence the SSH post-quantum warning on NX-OS?

You can suppress the message on the client side, but that should only be a temporary measure while you apply the real fix. Suppressing the warning does not change what the switch negotiates. The durable step is to confirm which key exchange algorithms the switch offers, then configure ssh kexalgos on the NX-OS device according to the Cisco Nexus 9000 10.6(x) guide. Document any suppression with an expiry date so it does not become a permanent blind spot in your monitoring.

Why is the NX-OS SSH warning appearing now?

Client tools and OpenSSH releases have begun flagging sessions that lack a post-quantum key exchange, so the warning surfaces during ordinary logins. The switch itself may not have changed. Cisco's NX-OS Software Data Sheet, updated 19 November 2026, lists post-quantum cryptography support for SSH as new in release 10.7(1)F across CloudScale and Silicon One Nexus switches. The data sheet does not name the key exchange algorithms or the specific Nexus models, so check your release notes and hardware model before assuming support.

What should I do if my Nexus switch cannot be upgraded?

Start by checking what the current release already allows. The Cisco Nexus 9000 10.6(x) guide says that starting with NX-OS 10.4(2)F any supported KexAlgorithm can be configured, so you may be able to restrict the switch to the strongest classical options available. Confirm the list with ssh kexalgos on the device. The sources on this page list no post-quantum or hybrid entries for 10.6(x), so a configuration change alone may not produce a post-quantum exchange. Record the limitation, restrict management access, and work with your vendor on an upgrade path.

How much does it cost to fix the NX-OS SSH warning?

The cost depends mainly on how many switches you run, which NX-OS releases they use, and whether upgrades or hardware changes are needed. Configuration changes on supported releases cost mostly staff time for inventory, testing and change windows. Upgrades add licensing review, maintenance windows and rollback planning. The sources on this page do not give a price or effort figure, so ask any consultant or vendor for a written scope that lists the devices, releases and steps covered.

Should I get outside help with the NX-OS SSH fix?

Consider outside help when the switch fleet is large, the change windows are tight, or the devices carry compliance-sensitive management traffic. An implementation partner can inventory SSH endpoints, test the chosen ssh kexalgos settings in a lab, and prepare evidence for an assessment. DeployOpen plans, implements, tests and documents self-hosted platforms inside client infrastructure, and it prepares evidence for compliance assessments, but it does not issue audit reports or attestations. Ask any provider for a fixed-scope written agreement before work starts.

How DeployOpen works on this

DeployOpen approaches the Cisco NX-OS SSH warning as a scoped configuration task: first confirming which key exchange algorithms your switches offer, then changing only what is needed and retesting the same client connection. Engagements are agreed in writing before work starts, and the output is a record your team can check.

How we scope

  • Inventory each Nexus switch, its NX-OS release and whether the warning appears on your management clients.
  • Confirm with Cisco's current documentation which SSH KexAlgorithms your release supports before deciding on changes.
  • Agree the scope, deliverables and timeline in writing; ongoing support is available as a retainer.

How we build

  • Capture the algorithms offered with ssh -vvv from a representative client, before any change.
  • Apply ssh kexalgos settings only for names your release documents, using the guide for your NX-OS version.
  • Test SSH access from each management client after every change, so lockouts are caught on a lab device first.

How we hand over

  • Provide the before and after configuration for each switch, with the release and command used.
  • Record the client-side ssh -vvv output that shows the connection no longer reports the warning.
  • Document any items Cisco's sources do not cover, so your team knows what to confirm with the vendor.

How we support

  • Re-check the setup after NX-OS upgrades, since supported key exchange names can change by release.
  • Retest management access as part of routine change windows and new switch onboarding.
  • Keep the runbook current so your operations team can repeat the checks without us.

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.