Fix the SSH post-quantum key exchange warning on AWS Transfer Family

On AWS Transfer Family, the warning means the SFTP connection did not negotiate a post-quantum key exchange, usually because the server uses a security policy without ML-KEM methods. Cloud administrators fix it by moving the server to a policy that lists them and confirming the negotiated method.

On this page

What the SSH post-quantum warning means on AWS Transfer Family

When an SFTP partner or an automated job reports the SSH post-quantum key exchange warning against an AWS Transfer Family server, it means the connection did not negotiate a post-quantum key exchange method. The cloud administrator who owns the Transfer Family server is the person who acts on it, because the method offered by the server is set by the server's security policy, not by the partner's client. The connection itself is still encrypted. The warning concerns which key exchange algorithm was used to set up that encryption, not whether the transferred data is being sent unprotected.

The sources listed for this page do not describe the warning as urgent or set a deadline for acting on it, so treat it as a planning item rather than an emergency unless your own compliance obligations say otherwise. What the sources do establish is that the server's security policy controls the method offered. AWS documents the SSH policies that support post-quantum key exchange as TransferSecurityPolicy-2025-03 and TransferSecurityPolicy-FIPS-2025-03, and states that TransferSecurityPolicy-2024-01 is the default attached when a server is created through the console, API or CLI.

That default matters for the warning. AWS's published policy definitions show no mlkem entries for TransferSecurityPolicy-2024-01, so a server still on that policy will not offer the post-quantum methods even when a partner's client could use them. AWS advises naming the security policy explicitly when you create or update a server rather than relying on the default, which it says is subject to change. Before changing anything, confirm with your partner which of the listed key exchange methods their client supports, since the connection only moves to a post-quantum method when both sides agree on one. Confirm too whether any of your servers have FIPS enabled, because AWS states that a FIPS-enabled endpoint cannot be moved to a non-FIPS policy.

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

Three parties touch this warning: the AWS account administrator who sets the server's policy, the client user or automation owner whose SSH tooling must offer an ML-KEM method, and the partner who may need to upgrade their own client. The managed service limits what the first party can change, so each card names what its owner controls and what stays with AWS.

AWS account administrator

The administrator owns the Transfer Family server and sets its security policy, either in the console under Additional details and Cryptographic algorithm options, or with the CLI. Check the current value with describe-server, then update the server to a policy that lists the mlkem methods, such as TransferSecurityPolicy-2025-03 or TransferSecurityPolicy-FIPS-2025-03. A server with the FIPS endpoint cannot be moved to a non-FIPS policy, so confirm the endpoint type before choosing.

Edit server docs

Policy controls and AWS defaults

The administrator can choose which published policy a server uses, but cannot change the service's underlying implementation. A server created in the console, API or CLI without an explicit policy receives TransferSecurityPolicy-2024-01, which does not list mlkem methods, and AWS says the default is subject to change. Set the policy explicitly on every server rather than relying on the default, and recheck after AWS publishes new policies.

Security policies docs

SFTP client and automation owner

The person or team running the SFTP client, script or scheduled job must make sure its SSH stack offers one of the listed ML-KEM methods, such as mlkem768x25519-sha256. Run ssh -Q kex to list what the local OpenSSH supports, and consider upgrading to a current OpenSSH client, since AWS's own test used version 9.9. Automated jobs often pin an older client or library, so inventory them along with interactive users.

Post-quantum guide

Partner with an external client

A partner or vendor that connects to your server with its own SFTP software controls its client, not your server. If their client does not offer an ML-KEM method, the connection may still work on a classic key exchange, but the warning will continue for that connection. Ask the partner which SSH library or client version they use, and whether they can upgrade it, before changing the server policy. Your own policy change does not depend on their upgrade, so confirm the connection works after you change it.

Verification and connection testing

The person who changes the policy should confirm the result from a client that offers an ML-KEM method. Run sftp -v -o KexAlgorithms=mlkem768x25519-sha256 against the server endpoint and look for the line debug1: kex: algorithm: mlkem768x25519-sha256 in the output. AWS says a packet capture may be used instead of client output. Test the hybrid suites on production-like transfers, since their performance and bandwidth needs differ from classic key exchange.

Verification steps

How to check which security policy the server uses

These steps confirm which security policy an AWS Transfer Family server is using and whether that policy offers post-quantum key exchange. Once the policy is confirmed, you know whether the server needs a change before clients can negotiate a post-quantum method.

  1. Open a terminal with the AWS CLI configured

    Sign in to the AWS account that hosts the Transfer Family server, and make sure the AWS CLI is installed and set to the Region where the server runs. The server ID is shown on the Servers page of the Transfer Family console, and you will need it in the next step. You know this step is done when the CLI returns output for your account when you run a simple test command in the same session.

  2. Run describe-server with the server ID

    Run the documented command aws transfer describe-server --server-id your-server-id, replacing your-server-id with the ID of the server you are checking. The command returns the server's configuration in JSON. This step is done when the command returns a response without an error about the server ID.

  3. Read the SecurityPolicyName line

    In the output, find the line labeled SecurityPolicyName. Its value is the name of the security policy attached to the server, such as TransferSecurityPolicy-2024-01. Write down this exact name, because the policy name determines whether post-quantum key exchange is available. This step is done when you have recorded the exact policy name.

  4. Compare the policy name against the published list

    Check the policy name against the AWS security policy page. According to AWS's published definitions, TransferSecurityPolicy-2025-03, TransferSecurityPolicy-FIPS-2025-03 and TransferSecurityPolicy-AS2Restricted-2025-07 list all three ML-KEM methods (mlkem768x25519-sha256, mlkem768nistp256-sha256 and mlkem1024nistp384-sha384). A policy without any mlkem entries, such as TransferSecurityPolicy-2024-01, TransferSecurityPolicy-2018-11 or TransferSecurityPolicy-SshAuditCompliant-2025-02, will not negotiate a post-quantum method. This step is done when you know whether your policy is one of the three that list ML-KEM methods.

  5. Confirm the policy in the console

    In the AWS Transfer Family console, open the Servers page and select the server. Under Additional details, check the security policy shown for the server, and confirm it matches the SecurityPolicyName value from the CLI output. This step is done when the console and the CLI report the same policy name for the server.

  6. Decide whether the policy needs updating

    If the server uses a policy without mlkem entries, plan to move it to a policy that lists ML-KEM methods, as described in the update steps for this topic. If the server is FIPS-enabled, note that AWS states you cannot change the FIPS security policy to a non-FIPS policy. This step is done when you have written down the target policy or confirmed that the current policy already supports post-quantum key exchange.

Decision path from the warning to a confirmed post-quantum connection

The path starts at the OpenSSH warning that a connection did not use a post-quantum key exchange. Next, the administrator checks which security policy is attached to the Transfer Family server, since the default may be an older policy without ML-KEM methods. If the policy is not one that lists the mlkem methods, the administrator uses the console or update-server to attach a supporting policy such as TransferSecurityPolicy-2025-03. Last, the client runs the verification command with KexAlgorithms=mlkem768x25519-sha256 and checks for debug1: kex: algorithm in the output, which confirms the negotiated algorithm.

The steps from the warning to a verified post-quantum SSH key exchange on Transfer Family.

Causes of the warning on Transfer Family and the fix for each

This table pairs each configuration cause that produces the SSH post-quantum warning on AWS Transfer Family with the fix AWS documents for it. Read each row by matching your server's security policy or client setup to the cause, then apply the listed fix and confirm with the verification steps. Most servers need only a policy change, while clients and FIPS endpoints need different action.

CauseWhy it triggers the warningFix
Server on TransferSecurityPolicy-2024-01This is the default policy when a server is created with the console, API or CLI, and its SshKexs list has no ML-KEM methods.Edit the server, select TransferSecurityPolicy-2025-03 or a newer supported policy, and save the change.
Server created through CloudFormation with the defaultA server created with CloudFormation that accepts the default gets TransferSecurityPolicy-2018-11, which has no ML-KEM methods.Set the security policy name explicitly to TransferSecurityPolicy-2025-03 in the template, then update the stack or the server.
Server on an older experimental or SshAuditCompliant policyThe experimental 2023-04 policies are deprecated, and SshAuditCompliant-2025-02 does not list any ML-KEM methods.Move the server to TransferSecurityPolicy-2025-03 or TransferSecurityPolicy-FIPS-2025-03 if FIPS applies, using the console or update-server command.
Client OpenSSH or library lacks any ML-KEM methodThe client must support one of the listed ML-KEM algorithms, so older OpenSSH builds or libraries cannot negotiate post-quantum key exchange.Check with ssh -Q kex, then install a current OpenSSH client such as version 9.9 or a library version that supports the ML-KEM methods.
FIPS-enabled endpoint that cannot change to non-FIPSAWS states that you cannot change a FIPS-enabled endpoint's security policy to a non-FIPS policy.Select TransferSecurityPolicy-FIPS-2025-03 on the FIPS endpoint, since it is the FIPS policy that lists the ML-KEM methods.

How to update the server to a post-quantum security policy

This sequence moves an AWS Transfer Family server from a security policy that does not offer ML-KEM key exchange to one that does, so SSH clients that offer those methods can negotiate a post-quantum key exchange. Each step ends with a check that confirms the change took effect before you move on.

  1. Check the current security policy

    Before changing anything, confirm which policy the server uses now. Run aws transfer describe-server --server-id your-server-id in a terminal with the AWS CLI configured for the account and Region that hosts the server, and read the SecurityPolicyName line in the output. Some older defaults, such as TransferSecurityPolicy-2024-01, do not list the ML-KEM methods, so a server on one of them will keep showing the warning until you change its policy. Record the current value so you can roll back if needed.

  2. Choose a policy that lists the ML-KEM methods

    Select a policy that AWS documents as including the mlkem768x25519-sha256, mlkem768nistp256-sha256 and mlkem1024nistp384-sha384 key exchange methods. The documented choices are TransferSecurityPolicy-2025-03 and, where FIPS is required, TransferSecurityPolicy-FIPS-2025-03. Confirm the exact policy name against the AWS security policies page before you use it, because AWS's policy list is the authoritative source and may change. Ask your security or compliance team whether the endpoint must be FIPS-enabled, since that decision limits which policy you can select later.

  3. Update the policy in the console

    In the AWS Transfer Family console, open the Servers page and choose your server. Choose Edit next to Additional details, pick the policy you selected under Cryptographic algorithm options, and choose Save. AWS documents this path in its edit server guide. Make the change during a window when no automated transfers depend on the server, because the update applies to the server configuration. Confirm the save succeeded before you continue.

  4. Update the policy with the CLI instead

    If you prefer the command line, run aws transfer update-server --server-id your-server-id --security-policy-name "YOUR-POLICY-NAME", replacing the placeholder with the exact policy name from the previous step. AWS's example uses TransferSecurityPolicy-2023-05 only to show the syntax, so do not copy it. The policy name must be supplied explicitly in the command. A successful call returns the ServerId of the server you updated, which is your confirmation that the request was accepted.

  5. Confirm the policy change took effect

    Run aws transfer describe-server --server-id your-server-id again and check that the SecurityPolicyName line now shows the policy you chose. If it still shows the old value, the update did not apply, so repeat the console or CLI step and check the account and Region. Do not move on until the new name appears, because later tests depend on the server using the new policy.

  6. Keep the FIPS policy choice in view

    If the server endpoint is FIPS-enabled, you cannot change its security policy to a non-FIPS policy, so plan the choice before you begin. Check the endpoint type in the server configuration before you update it. If the endpoint is FIPS-enabled, choose a FIPS policy such as TransferSecurityPolicy-FIPS-2025-03. Record the final policy name in your change record so that auditors and future administrators can see which policy applied and why.

  7. Test the connection from a client

    Verify the new policy from a client that offers an ML-KEM method. Run ssh -Q kex on the client to see the key exchange methods it supports, and use the latest OpenSSH client if yours is older, since AWS suggests version 9.9 for testing. Then run the sftp verification command AWS documents with the KexAlgorithms option set to mlkem768x25519-sha256 and look for the line debug1: kex: algorithm: mlkem768x25519-sha256 in the output. A matching line confirms the post-quantum key exchange was negotiated.

How the change differs for console, CLI and CloudFormation servers

Administrators who manage their Transfer Family servers in the AWS Management Console make the change from the server's settings page. AWS documents the path as choosing the server on the Servers page, choosing Edit next to Additional details, picking a policy under Cryptographic algorithm options, and choosing Save. The policy you need to select is one that includes the ML-KEM key exchange methods. According to AWS's published policy definitions, TransferSecurityPolicy-2025-03, TransferSecurityPolicy-FIPS-2025-03 and TransferSecurityPolicy-AS2Restricted-2025-07 each list the three mlkem methods, while TransferSecurityPolicy-2024-01 does not list any.

  • Find the current policy: Open the server and check which policy name is shown under Cryptographic algorithm options before you edit anything, so you have a record of the starting point.
  • Pick a policy that lists ML-KEM: Choose TransferSecurityPolicy-2025-03 or, for FIPS-enabled endpoints, TransferSecurityPolicy-FIPS-2025-03, based on your compliance requirements.
  • Mind the FIPS restriction: AWS states that if an endpoint is FIPS-enabled, you cannot change the FIPS security policy to a non-FIPS security policy, so confirm the endpoint type before you select a policy.
  • Save and wait for the change: Choose Save, then reopen the server to confirm the policy name is the one you selected.
  • Retest from a client: A saved policy does not prove a negotiated connection, so run the client verification described in the verification steps for your environment.

Before you close the change, confirm that the policy name on the server page matches the policy you intended and that a test connection from a client that supports ML-KEM negotiates an mlkem method.

How to confirm the connection now negotiates a post-quantum method

The fastest way to confirm that a Transfer Family server now negotiates a post-quantum key exchange is to connect with an OpenSSH client and force one of the ML-KEM methods. Run sftp -v -o KexAlgorithms=mlkem768x25519-sha256 -i username_private_key_PEM_file username@server-id.server.transfer.region-id.amazonaws.com, replacing the placeholders with your server ID, region and a key for a test user. In the verbose output, look for the line debug1: kex: algorithm: mlkem768x25519-sha256. That line shows the hybrid method was agreed. AWS's sample output from an OpenSSH_9.9p2 client also shows remote software version AWS_SFTP_1.1 for the Transfer Family server, which helps you recognize a normal Transfer Family response in your own output. Your results may differ in the version string, so compare against your own run rather than treating the sample as a fixed expectation.

Before you rely on that result, confirm the client side can offer ML-KEM at all. Run ssh -Q kex on the machine that will connect and check that one of the mlkem methods is listed. AWS suggests installing a recent OpenSSH client, such as version 9.9, for testing. If the list does not include an mlkem method, the client cannot negotiate this key exchange no matter what the server is configured to do, and you should update the client before drawing any conclusion about the server. Automated jobs and partner systems often run older OpenSSH builds bundled with their operating system, so check the client that the real traffic uses, not only the one on your laptop.

If you cannot read client output, for example because the connection is made by a partner's system or a scheduled job, AWS notes that a packet capture program may be used instead to see which key exchange was negotiated. After the change, watch your partner's logs over the following days and their next scheduled transfers, since a successful test does not show that every client negotiates the new method. Keep the verbose output or capture from your test with the date and server policy name, so you can show the result to the partner and to your security reviewers.

What can break when the policy changes

Moving a server to a post-quantum policy changes which key exchange methods it offers, so clients that pin algorithms or lack ML-KEM support can stop connecting. Review each item below on your server and in your partners' and jobs' configurations before you save the change.

Older partner clients

Partner systems or clients that do not support any of the ML-KEM key exchange methods may fail to connect once the policy no longer offers the methods they use. Ask each partner which OpenSSH or SSH client version they run and whether it offers mlkem768x25519-sha256, mlkem768nistp256-sha256 or mlkem1024nistp384-sha384. Run ssh -Q kex on their client to see the list. Test with each partner before the change reaches production, because a failed connection may only appear in their logs, not yours.

AWS PQ guide

Pinned algorithms in scripts

Automated jobs that pass a fixed KexAlgorithms value, or that expect a specific key exchange in their configuration, may stop working when the server's offered list changes. Search your cron jobs, deployment scripts and SFTP client configurations for KexAlgorithms and for any named key exchange method. Where a script pins a method the new policy no longer lists, update the script to offer a method the policy does list, then rerun the job against a test server.

Performance and bandwidth differences

AWS says the hybrid suites have performance and bandwidth needs that differ from classic key exchange, so transfers may behave differently after the change. AWS recommends testing hybrid suites on Transfer Family connections before relying on them. Measure connection setup time and transfer throughput for your typical file sizes on a test server, and compare the results with your current baseline. Ask AWS for any published figures before you assume a size or speed.

AWS PQ guide

FIPS restriction on rollback

If your endpoint is FIPS-enabled, AWS states you cannot change the FIPS security policy to a non-FIPS security policy. Plan the change knowing that a rollback path may be closed for that endpoint. Confirm in the server configuration whether your endpoint is FIPS-enabled before you select a policy, and record the policy name you are moving from so your team can restore the setting through a new server if needed.

Edit server docs

Method names may change

AWS says the listed key exchange methods might change as the IETF draft evolves toward standardization, and that it plans to support future updates to the draft until it is adopted as a standard. Any script or client configuration that names these methods explicitly may need updating later. Track the AWS Transfer Family security policy page for changes, and rerun your verification steps after each announced update.

Security policies page

When to get outside help with the Transfer Family change

Get outside help when the change cannot be made safely by your own team on its own. The most common case is a trading partner that cannot upgrade its client. The Transfer Family server can be moved to a policy that offers ML-KEM key exchange, but the partner's SFTP client must also support one of the listed methods (mlkem768x25519-sha256, mlkem768nistp256-sha256 or mlkem1024nistp384-sha384) before a connection can use it. Your team cannot change a partner's software, so the decision is about whether to keep an older policy in place for that partner for a period, and that decision should be made with the people who own the partner relationship, not by the cloud team alone. Confirm the partner's client version and whether it can run ssh -Q kex before you change the policy for everyone.

Bring in help before you change a server that automated jobs depend on. Scheduled transfers, scripts and integrations often connect with fixed client builds that nobody has looked at in years, and they fail silently or stop retrying when the handshake changes. Map which jobs, service accounts and key pairs connect to each server, and test a copy of the server with a non-production policy first. If the mapping turns up jobs whose owners you cannot identify, escalate to the team that owns the application that runs them. Cloud administrators can make the policy change, but they should not be the only people who know which workloads it affects.

Regulated environments need evidence of the change, not just the change itself. If your organization must show an auditor or a customer what policy each server uses and when it was updated, record the describe-server output before and after the change and keep the console change record. Ask your compliance lead which evidence format they need and whether a change ticket must be approved before a security policy is edited. Also get help if your IAM role cannot run transfer:UpdateServer or transfer:DescribeServer, or if the console and CLI access you have does not reach the servers in question. Ask your cloud platform owner to grant the specific permissions for this change rather than broad administrative rights. Confirm the exact policy name and the FIPS requirement with your security team before you save, because a FIPS-enabled endpoint cannot be moved back to a non-FIPS policy.

Questions people ask about the Transfer Family warning

Is the connection still encrypted when the SSH warning appears?

Yes. The warning means the SSH key exchange did not use one of the post-quantum hybrid methods, but the connection still uses SSH encryption with the classic key exchange algorithms in the server's policy. The sources supplied for this page describe the warning as a statement about which key exchange method was negotiated, not as a sign that traffic is sent unprotected. Confirm the negotiated algorithm on a test connection with the verification steps in the documentation, and check which algorithms your security policy allows.

Is the Transfer Family post-quantum warning urgent for my organization?

The sources supplied do not set a deadline for your organization, and no regulation is cited on this page as requiring post-quantum key exchange. Treat it as planning work: decide which servers carry data that must stay confidential for many years, then schedule the policy change. AWS states that it strongly recommends updating servers to the latest security policy, so the update is worth scheduling even without a fixed deadline. Your compliance or legal team should confirm any obligations that apply to your data.

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

You can leave the server as it is, but you should not treat the warning as cosmetic. The fix is to set a security policy that lists the ML-KEM key exchange methods, such as TransferSecurityPolicy-2025-03 or TransferSecurityPolicy-FIPS-2025-03, which AWS names as supporting post-quantum key exchange. Silencing the warning in a client without changing the server leaves the connection on classic key exchange. If you choose to defer, record the decision, the affected servers and a review date.

Why does the warning show up now on a Transfer Family server that already works?

A server that worked before may still use an older policy. AWS states that TransferSecurityPolicy-2024-01 is the default when a server is created with the console, API or CLI, and that a CloudFormation server accepting the default gets TransferSecurityPolicy-2018-11. Neither of those policies lists the ML-KEM methods. Newer clients, including OpenSSH releases that offer post-quantum key exchange, may now negotiate a hybrid method, and the warning appears when the negotiated method is not post-quantum. Check the policy attached to your server with the describe-server command.

What should I do if a partner cannot upgrade its SSH client?

Keep the server policy that suits your partners, and document the exception. Partners that cannot offer an ML-KEM method will continue to connect with classic key exchange, which AWS's policy definitions still include in older policies. Ask each partner for a timeline and whether their client can be updated. For partners that can upgrade, AWS says the client must support one of the listed ML-KEM algorithms and suggests testing with a current OpenSSH client, such as version 9.9. Confirm the algorithms each partner's client supports with ssh -Q kex before changing the server policy.

Are the Kyber-based SSH key exchange methods still allowed in Transfer Family policies?

AWS's 21 May 2025 announcement says the older Kyber-based methods will be removed from existing policies. AWS also lists TransferSecurityPolicy-PQ-SSH-Experimental-2023-04 and TransferSecurityPolicy-PQ-SSH-FIPS-Experimental-2023-04 as deprecated. For new configuration, use the policies that list the ML-KEM methods, such as TransferSecurityPolicy-2025-03. Check the security policy page for the current list before you change a production server, because AWS says the default and the policy contents may change.

Does enabling post-quantum key exchange on Transfer Family affect performance?

AWS says the hybrid suites are available in most Regions and recommends testing them on Transfer Family connections, because performance and bandwidth needs differ from classic key exchange. Run a test transfer of a representative file size from each partner network before you change production policy. Measure transfer time and connection setup with both the current policy and the new one. The sources supplied do not give specific figures, so use your own measurements.

How DeployOpen helps teams move Transfer Family servers to post-quantum policies

DeployOpen treats the SSH post-quantum key exchange warning on AWS Transfer Family as a configuration change to a named security policy, followed by testing against real partner and automated clients. We scope the work in writing, apply and verify the policy change in your environment, and hand over the evidence your security and compliance teams need to review it.

How we scope

  • We list every Transfer Family server, its current SecurityPolicyName and whether it is FIPS-enabled before any change.
  • We identify the SFTP clients and automated jobs that connect to each server, so partner impact is known in advance.
  • We agree the target policy in writing, including whether a FIPS policy is required, since a FIPS endpoint cannot move to a non-FIPS policy.

How we build

  • We update each server to an explicitly named post-quantum policy such as TransferSecurityPolicy-2025-03 rather than relying on the default.
  • We test each connection with an OpenSSH client that offers an ML-KEM method, confirming the negotiated algorithm in client output.
  • We record which clients still negotiate classic key exchange and agree a remediation path with their owners before closing the work.

How we hand over

  • We deliver a dated change record showing each server, the policy before and after, and the update command or console steps used.
  • We provide verification logs from the sftp -v check and the describe-server output showing the SecurityPolicyName now in effect.
  • We document the deprecated experimental policies and Kyber-based methods found on any server, so your team can retire them deliberately.

How we support

  • Engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts.
  • Ongoing support is available as a retainer, covering re-testing when AWS changes the ML-KEM method list or publishes a newer policy.
  • Ask your quote to separate one-time policy changes and testing from recurring support, so you can compare the two cost components.

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.