What the SSH post-quantum warning means on Amazon Linux
If you saw the OpenSSH warning that a connection is not using a post-quantum key exchange algorithm while connected to an Amazon Linux instance, the message means the key exchange that was negotiated for that session was a classical one, not a hybrid post-quantum algorithm such as mlkem768x25519-sha256. The session is still encrypted, but the key exchange step does not include a post-quantum component. The server and client both have to offer a hybrid algorithm for the warning to clear, so the fix sits on the instance, and the cloud administrator who controls that instance is the person who has to act.
The sources do not describe this as an emergency. It is a configuration and upgrade task, and the sources do not give a date by which the warning would become a failure. Amazon Linux 2023 (AL2023) rebased OpenSSH to version 9.9 in release 2023.12.20260803, and the sources say the earlier OpenSSH 8.7p1 build did not offer the hybrid algorithms even when the PQ subpolicy was set. Check first which OpenSSH version is installed on the instance, since that determines whether a package update alone will be enough.
Before changing anything, confirm which version of Amazon Linux and which OpenSSH package the instance runs, and whether the server is offering the hybrid algorithms at all. The AL2023 post-quantum guide requires AL2023.12 or higher and an SSH or AWS Systems Manager connection to the instance, so confirm both before you start. Treat the warning as a planned change to schedule with the team that owns the instance, not as a compliance finding.
Who has to act on the warning on Amazon Linux
Three groups can clear the SSH post-quantum key exchange warning on Amazon Linux, and each controls a different part of the connection. Find the one that owns the instance, the client or the image before you change anything, because a change made in the wrong place will not stop the warning.
Instance administrator on the server
The instance administrator is the person who can run sudo dnf and sudo update-crypto-policies on the virtual machine. This is the role that changes what the SSH server offers. The AL2023 post-quantum guide requires AL2023.12 or higher and an SSH or AWS Systems Manager connection to the instance, so confirm both before starting. First install and update the tooling with sudo dnf -y install crypto-policies-scripts and sudo dnf -y update crypto-policies crypto-policies-scripts, then run sudo update-crypto-policies --set DEFAULT:PQ. Check the result with update-crypto-policies --show, which should print DEFAULT:PQ.
Account owner who builds the image
The account owner decides which Amazon Machine Image the instance was built from. The release notes for version 2023.12.20260803 say OpenSSH was rebased to 9.9 and that the release adds post-quantum algorithm support, and they list openssh-server at openssh-9.9p1-10.amzn2023.0.1 in the default and minimal images. An instance launched from an older image may still run OpenSSH 8.7p1, which is the version in the reported issue. Ask the owner which AMI and kernel line each instance came from, then compare the installed openssh-server version with rpm -q openssh-server.
User connecting from a client
A user on a laptop or workstation controls only the SSH client they run. The warning is shown by the client when the server does not negotiate a post-quantum key exchange, so a client upgrade alone cannot remove it from a server that offers only classical algorithms. Users should still confirm they run a recent OpenSSH client, because the server and client must both support a common post-quantum method before the connection can use one. If the warning appears after a server fix, check the client version and report the exact message to the server owner.
Team on a managed service or bastion
A team that connects through a shared bastion host or a managed service may have no permission to change the server at all. In that case the instance administrator or platform owner must make the change, and the team should ask them for the instance name, the installed openssh-server version and the current crypto policy output. Do not attempt changes on a host you do not administer, since altering a shared bastion can affect every team that uses it. Bring the request with the exact warning text so the owner can match it to the instance.
Rebuild after an update
The AL2023 maintainers reported that after updating an existing virtual machine, the administrator may need to run sudo update-crypto-policies --set DEFAULT:PQ one more time to regenerate the OpenSSH configuration. This matters because the package update alone can leave the old configuration in place. Run the command again after dnf update, then reconnect and confirm the warning no longer appears. The same maintainers asked readers to disregard a comment about OpenSSH in the post-quantum documentation, which they said would be updated, so rely on the release notes for the package version.
Confirm with a test connection
After the server change, confirm the fix from a client that previously showed the warning. Connect with the same user and key, and watch the client output for the post-quantum warning. A clean connection means the server now negotiates a post-quantum key exchange with that client. If the warning remains, check the crypto policy with update-crypto-policies --show, confirm the OpenSSH version, and rerun the policy command. Record the result and the instance name so the platform owner can verify other instances built from the same image.
How to check which SSH version and key exchange the server offers
This sequence confirms whether an Amazon Linux 2023 server is on a release that supports post-quantum SSH key exchange, whether the OpenSSH packages are at the version that includes it, and whether the PQ crypto policy is active. Together these checks show what the server offers to clients and where the warning is coming from.
Confirm the AL2023 release version
Log in to the instance over SSH or AWS Systems Manager and check the release the instance is running. The AL2023 post-quantum guide requires AL2023.12 or higher, so the release must be 2023.12 or a later version. If the release is older than 2023.12, the instance cannot use the PQ crypto policy, and you will need to update it before continuing. Record the release number so you can compare it with the release notes.
Check the installed OpenSSH server and client versions
Run the package query for openssh-server and openssh-clients. The AL2023 release notes for 2023.12.20260803 list openssh-9.9p1-10.amzn2023.0.1 for both packages. If either package shows an earlier version, the server is not running the build that adds post-quantum algorithms. A version of 8.7p1, which was the version reported in the Amazon Linux issue, is a sign of an older install that needs updating.
Confirm the crypto-policies packages are current
Check that the crypto-policies and crypto-policies-scripts packages are installed and up to date. The release notes list crypto-policies-20260224-1.gitea0f072.amzn2023.0.6 as the relevant build. If these packages are missing or older, install or update them with the dnf commands in the AL2023 guide before you change the policy. Confirm the installed version matches the release notes before moving on.
Show the active crypto policy
Run update-crypto-policies --show. When the PQ subpolicy is applied to the DEFAULT policy, the command prints DEFAULT:PQ. Any other output, such as DEFAULT or LEGACY, means the PQ subpolicy is not active and the server will not offer the hybrid post-quantum key exchange. Note the printed value, since it determines whether the next step is needed.
Check the negotiated key exchange from the client
From a client machine, connect to the server with verbose SSH output and read the key exchange line in the connection log. The sources name the algorithms to look for: mlkem768x25519-sha256 and sntrup761x25519-sha512. Confirm the exact verbose option for your SSH client in its documentation, since the sources do not name a specific flag. If the negotiated algorithm is one of the post-quantum options, the server is offering it. If the connection still shows the warning and a classical algorithm, the server or policy is not set up correctly.
Compare results with the reported issue
Compare what you found with the Amazon Linux issue 1107, which reported that a server on OpenSSH 8.7p1 offered neither mlkem768x25519-sha256 nor sntrup761x25519-sha512 after the PQ policy was applied. If your server reports the same OpenSSH version, the package update has not been applied. The maintainer noted that the issue was closed after OpenSSH was rebased to 9.9p1, so a server on the current build should not reproduce the issue as it was reported.
Causes of the warning on Amazon Linux and the fix for each
This table maps each likely cause of the SSH post-quantum warning on Amazon Linux to the check that identifies it and the change that resolves it. Read it top to bottom: confirm the OpenSSH version first, then the policy state, then the client. The main takeaway is that a rebased package alone may not be enough until the crypto policy is regenerated.
| Cause | How to confirm | Fix |
|---|---|---|
| Instance runs OpenSSH 8.7p1 from before the rebase to 9.9 | Run ssh -V on the server and check for 8.7p1 instead of 9.9p1 | Update the openssh-server and openssh-clients packages to openssh-9.9p1-10.amzn2023.0.1 or later from the AL2023 2023.12.20260803 release |
| Stale OpenSSH configuration after an update | Update was applied to an existing VM, and the warning persists after the package update | Re-run sudo update-crypto-policies --set DEFAULT:PQ to regenerate the OpenSSH configuration, as the maintainer advised in issue 1107 |
| PQ subpolicy not applied to the DEFAULT policy | Run update-crypto-policies --show and check whether it prints DEFAULT:PQ | Apply the subpolicy with sudo update-crypto-policies --set DEFAULT:PQ, then run the show command again to confirm |
| Client does not offer a hybrid algorithm | Check the client's supported key exchange list for mlkem768x25519-sha256 or a similar hybrid algorithm | Update the client to a version that offers a hybrid algorithm; the server-side change alone does not affect a client that never offers one |
What to change on an Amazon Linux 2023 instance, in order
This sequence brings an Amazon Linux 2023 instance up to the OpenSSH release and crypto-policies configuration that offer hybrid post-quantum key exchange. Each step is run on the instance itself, and the final check confirms the server is offering the algorithms that clients need to stop showing the warning.
Confirm the instance meets the release requirement
Before changing anything, confirm the instance runs Amazon Linux 2023.12 or higher, since the AL2023 post-quantum guide requires that release. Connect over SSH or AWS Systems Manager, then check the release version with
cat /etc/amazon-linux-releaseorcat /etc/os-release. Also check the installed OpenSSH withssh -V. If the release is older than 2023.12, update it before continuing. You know this step is done when the release and the connection method are both confirmed.Install the crypto-policies scripts
Run
sudo dnf -y install crypto-policies-scriptson the instance. This installs the tooling that the AL2023 post-quantum guide uses to apply the PQ subpolicy. Run the command as a user with sudo rights. You know this step is done when dnf reports the package as installed or already present with no errors.Update crypto-policies and its scripts
Run
sudo dnf -y update crypto-policies crypto-policies-scriptsto bring both packages to the current build. The AL2023 release notes for version 2023.12.20260803 list crypto-policies at the 20260224 build as the one that enables mlkem768x25519-sha256 for OpenSSH in the PQ sub-policy. Check the installed version withrpm -q crypto-policiesand compare it to the release notes. You know this step is done when the installed build matches or exceeds that version.Update OpenSSH to the 9.9 package
Run
sudo dnf -y update openssh-server openssh-clientsso that both packages move to the 9.9 release. The AL2023 release notes for 2023.12.20260803 list openssh-9.9p1-10.amzn2023.0.1 as the version shipped in the default and minimal AMIs. Check the result withrpm -q openssh-server openssh-clients. Earlier AL2023 builds ship OpenSSH 8.7p1, and that version did not offer the hybrid algorithms in the reported issue. You know this step is done when both packages report the 9.9 version.Apply the PQ subpolicy to the DEFAULT policy
Run
sudo update-crypto-policies --set DEFAULT:PQ. The AL2023 post-quantum guide uses this command to enable the PQ subpolicy, which adds hybrid ML-KEM key exchange and ML-DSA signatures to the DEFAULT cryptographic policy. Verify the result withupdate-crypto-policies --show, which should print DEFAULT:PQ. You know this step is done when the command prints DEFAULT:PQ.Re-run the policy command on an existing VM
On a VM that was already running before these updates, run
sudo update-crypto-policies --set DEFAULT:PQa second time. The maintainer in issue 1107 advised this so that the OpenSSH configuration is regenerated after the update. Runupdate-crypto-policies --showagain to confirm DEFAULT:PQ. A fresh instance built from the updated AMI can skip this re-run, but running it does no harm. You know this step is done when the policy shows DEFAULT:PQ after the second run.Restart sshd only when the update requires it
Restart or reload sshd only if the package update or the policy change requires it. Check whether the OpenSSH package replaced the running daemon with
systemctl status sshdand the package update output, then reload withsudo systemctl restart sshdif you need it. Be careful when restarting over SSH: keep an existing session open, or use AWS Systems Manager, so you do not lock yourself out. You know this step is done whensystemctl status sshdshows the service active after any restart.Use FIPS:PQ for FIPS-oriented policies
If the instance must follow a FIPS-oriented policy, the AL2023 guide says the PQ subpolicy can be applied to that policy instead, using
sudo update-crypto-policies --set FIPS:PQ. Use this option only when your compliance requirement calls for FIPS mode, and confirm the result withupdate-crypto-policies --show. The guide does not restrict the choice for other environments. You know this step is done when the command shows FIPS:PQ and the instance meets your FIPS requirement.
How the fix differs for AMIs, existing VMs and AL2027
A fresh instance launched from a current default or minimal Amazon Linux 2023 AMI is the simplest case. The release notes for version 2023.12.20260803 say OpenSSH has been rebased to version 9.9 and that the release adds support for post-quantum algorithms. The AMIs for kernels 6.1, 6.12 and 6.18 list openssh-clients and openssh-server at openssh-9.9p1-10.amzn2023.0.1, and the same release lists crypto-policies-20260224-1.gitea0f072.amzn2023.0.6. Because the image already carries these versions, the main task is to confirm the instance matches that build and then enable the PQ subpolicy.
- Check the AMI release: Confirm the instance was launched from an image built on the 2023.12.20260803 release or later, and that the kernel is 6.1, 6.12 or 6.18.
- Confirm the package versions: Run
rpm -q openssh-server openssh-clientsand compare the output withopenssh-9.9p1-10.amzn2023.0.1. - Confirm the policy package: Check that
crypto-policiesmatches the version listed in the release notes. - Apply the PQ subpolicy: Run
sudo update-crypto-policies --set DEFAULT:PQif the instance does not already show it. - Verify the result: Run
update-crypto-policies --showand confirm it printsDEFAULT:PQ.
Before you rely on this path, confirm the exact AMI ID and its build date with the image listing in your account, because the release notes describe packages, not your specific image.
An existing virtual machine that was updated in place can behave differently from a fresh launch. The Amazon Linux maintainer commenting on issue 1107 wrote that after updating an existing VM you may need to run sudo update-crypto-policies --set DEFAULT:PQ one more time to regenerate the OpenSSH configuration. The issue itself describes a server on OpenSSH 8.7p1 that offered no mlkem768x25519-sha256 or sntrup761x25519-sha512, and clients showed the warning that the connection was not using a post-quantum key exchange. Updating packages alone therefore does not guarantee the generated configuration reflects the new policy.
- Update the tooling first: Run
sudo dnf -y update crypto-policies crypto-policies-scriptsso the policy tools are current. - Re-apply the policy: Run
sudo update-crypto-policies --set DEFAULT:PQonce more after the update, as the maintainer advised. - Check the running OpenSSH version: Confirm the installed
openssh-serveris 9.9p1 and not still 8.7p1 from before the update. - Verify the policy: Run
update-crypto-policies --showand confirm it printsDEFAULT:PQ. - Reconnect and test: Open a new SSH session, because established sessions keep the algorithms negotiated when they began.
If the warning persists after these steps, record the output of each command and compare it with the sequence described in issue 1107 before escalating.
The AL2027 user guide says AL2027 includes OpenSSH 9.9, up from 8.7 in AL2023, and that its default configuration accepts mlkem768x25519-sha256, mlkem768nistp256-sha256 and mlkem1024nistp384-sha384 ahead of the classical algorithms. This means AL2027 does not need the PQ subpolicy applied by hand to offer hybrid key exchange by default, which is a different starting point from AL2023. The sources do not describe the AL2027 release notes or package build numbers, so confirm those with the AL2027 documentation before recording them.
- Confirm the release: Check that the instance is running AL2027 and not AL2023 with a similar name.
- Check the OpenSSH version: Confirm the server reports OpenSSH 9.9.
- Review the default key exchange list: Use the SSH configuration guide to confirm the three hybrid algorithms appear ahead of the classical ones.
- Do not override without reason: Changing
KexAlgorithmsor the crypto policy can remove the defaults, so change them only when a documented requirement calls for it. - Test from a real client: Connect with an up-to-date client and confirm the warning no longer appears.
If your AL2027 image differs from the default configuration, check the SSH configuration guide at the linked URL for the current defaults before applying any local change.
How to confirm the warning stops appearing after the change
Start on the instance itself. Run sudo update-crypto-policies --show and confirm it prints DEFAULT:PQ, which the Amazon Linux 2023 post-quantum guide says is the output when the DEFAULT policy has the PQ subpolicy applied (AL2023 PQC guide). Then check the installed OpenSSH version with ssh -V and rpm -q openssh-server openssh-clients. The release notes for version 2023.12.20260803 list openssh-9.9p1-10.amzn2023.0.1 for both packages (AL2023 release notes). If your instance still reports 8.7p1, the update has not been applied, and the policy output alone does not prove the server offers the hybrid algorithm. The maintainers' comment on issue 1107 also says that after updating an existing VM you may need to run sudo update-crypto-policies --set DEFAULT:PQ once more to regenerate the OpenSSH configuration (AL2023 issue 1107).
Next, reconnect from a client that reported the warning before and confirm two things: the warning no longer appears, and the negotiated key exchange is hybrid. To see the negotiated algorithm, run the client with verbose output, for example ssh -vv user@host, and look for mlkem768x25519-sha256 in the key exchange line. The AL2023 guide describes this exchange as hybrid ML-KEM, so a successful result should name it. Do not treat the absence of the warning on one client as proof for every client, because the client's own algorithm list also determines what gets negotiated. Confirm the new connection with the same client you used to reproduce the warning, since a different client may already have been using a newer build.
Watch for clients and automation that still send older algorithm lists. A script, Git remote, file transfer job or configuration-management run pinned to an old client build, or to an explicit KexAlgorithms list that omits the hybrid algorithms, will keep negotiating a classical exchange or keep warning after the server change. Check these by running the same verbose connection from each path, not only from an interactive shell. The AL2027 guide notes that its default configuration accepts mlkem768x25519-sha256 ahead of classical algorithms, so plan to review explicit algorithm settings as you move to newer releases. Confirm the expected results with your own client inventory and the vendor documentation for each client, since this page does not list the client versions that offer the hybrid algorithm.
What can break after enabling the PQ policy on Amazon Linux
Enabling the DEFAULT:PQ policy changes which key exchange algorithms the server offers, so clients that cannot negotiate the hybrid algorithms may fail or behave differently. The cards below cover the places where that change tends to surface, and what to test before applying it across a fleet.
Older SSH clients and scripts
Clients and scripts built on older OpenSSH or other SSH libraries may not offer mlkem768x25519-sha256 or the other hybrid algorithms. If the server's offered list leaves them no overlap, the connection can fail, or it can succeed with the warning still shown. Check the client version and the KexAlgorithms setting on each important client. Run ssh -Q kex on the client to list what it supports, and test from representative clients before any fleet-wide rollout.
CI runners and pinned algorithm lists
CI runners, deploy agents and configuration management tools often pin host keys or set an explicit algorithm list in their SSH configuration. A pinned list that omits the post-quantum algorithms will keep the connection on classical key exchange, and a pinned host key may stop matching after the server is rebuilt or updated. Search your pipeline configs and inventory for KexAlgorithms, HostKeyAlgorithms and known_hosts entries, and confirm each job still connects after the change.
Jump hosts and bastion configuration
A bastion or jump host sits between users and the instances behind it, so a negotiation problem on the bastion blocks every connection that passes through it. Test the full path, including ProxyJump chains, and confirm that the bastion's own client and server settings agree with the target instances. Apply the policy to the bastion first and verify it before touching the instances it protects.
FIPS-oriented configurations
The AL2023 guide shows that the PQ subpolicy can also be applied to other policies, including FIPS:PQ, and that it enables hybrid ML-KEM key exchange in the FIPS policy. Systems whose compliance or contract requirements depend on FIPS mode should confirm with their assessor and their own documentation that the FIPS-oriented setting is the one intended before switching, and that update-crypto-policies --show reports the expected value afterward.
Re-applying the policy after updates
The AL2023 maintainer's comment on issue 1107 notes that after updating an existing VM, you may need to run sudo update-crypto-policies --set DEFAULT:PQ again to regenerate the OpenSSH configuration. A host that was updated but not re-configured can show the same warning as one that was never updated. Verify with update-crypto-policies --show and a test connection after every update cycle, not only the first one.
When to get outside help with the Amazon Linux SSH warning
Get outside help when you cannot apply the fix yourself. The usual steps are to confirm the instance runs AL2023.12 or higher, install and update crypto-policies-scripts and crypto-policies, run sudo update-crypto-policies --set DEFAULT:PQ, and then re-run it once more after updating an existing VM, as the Amazon Linux maintainer advised in AL2023 issue 1107. If the instance belongs to another team, a managed service, or a vendor you cannot ask to change it, or if the SSH or AWS Systems Manager access you need is not available to you, the change belongs with whoever controls the instance. A partner can help you map which instances are affected, agree a change window with their owners, and confirm that the change was applied. Check with the owning team first, since the AL2023 post-quantum guide assumes you can connect to the instance over SSH or AWS Systems Manager.
Get help when many hosts show the warning at once. A fleet of AL2023 instances built at different times may run different OpenSSH and crypto-policies versions, so the warning can appear on some hosts and not others. The release notes for 2023.12.20260803 list OpenSSH 9.9 and crypto-policies-20260224-1.gitea0f072.amzn2023.0.6, but your instances may not match those versions. Ask a partner to inventory package versions and the output of update-crypto-policies --show across the fleet, then group hosts by result. Confirm the version list against the release notes for your own AMI before you act on it.
Bring in help when a regulated environment needs evidence of the change and its testing. Auditors and internal assurance teams often want a record of the starting state, the change made, the approver, and a retest showing the connection no longer reports the warning. DeployOpen can help prepare that evidence as part of compliance readiness work, but DeployOpen does not issue audit reports or attestations, and independent auditors decide what is sufficient. For the vendor's own statements, read the AL2023 post-quantum guide and AL2023 issue 1107 before you write up the change.
Common questions about the SSH post-quantum warning on Amazon Linux
Is my SSH connection still encrypted when I see the post-quantum warning?
The warning says the connection is not using a post-quantum key exchange algorithm. It does not say the session is unencrypted. The sources supplied for this page do not describe the cipher or the encryption status of a session that shows the warning, so confirm the negotiated algorithms on your own server with the verbose client output (ssh -v) and the server's sshd documentation before you rely on that. What the sources do establish is that the warning concerns which key exchange was negotiated, and that the fix is to offer a post-quantum key exchange, which the AL2023 release notes say the 2023.12.20260803 release adds through OpenSSH 9.9.
Is the post-quantum SSH warning on Amazon Linux urgent to fix?
The sources supplied for this page do not state a deadline or a compliance requirement for this warning, so treat urgency as a question for your own risk owner and your compliance team. The practical picture is this: AL2023 was rebased to OpenSSH 9.9 with post-quantum support in the 2023.12.20260803 release, and a maintainer closed the tracking issue on 5 August 2026 after the rebase. The work to resolve the warning is a package update and a policy change, which is small in effort, but the timing of that work against your own obligations is not something these sources can answer.
Can I silence the post-quantum SSH warning instead of fixing it?
The sources supplied for this page do not describe a supported way to suppress the client message, so do not assume one exists. The fix the sources describe is to change the server, not to hide the message: update the packages, then enable the post-quantum subpolicy with sudo update-crypto-policies --set DEFAULT:PQ. The AL2023 post-quantum guide also notes that the subpolicy can be applied to other policies, such as FIPS:PQ. Client-side suppression settings, if they exist, are not covered by these sources, so check the documentation of your specific SSH client before you change any client configuration.
Why did the post-quantum SSH warning appear on Amazon Linux now?
The warning appears on servers whose OpenSSH does not offer a post-quantum key exchange. A GitHub issue opened on 16 June 2026 reported exactly this on AL2023 with OpenSSH 8.7p1: after sudo update-crypto-policies --set DEFAULT:PQ, the server offered no mlkem768x25519-sha256 or sntrup761x25519-sha512, and clients showed the warning. On 5 August 2026 a maintainer said AL2023 had just been rebased to OpenSSH 9.9p1 and asked users to install the latest updates and test. The sources do not say why earlier builds were missing the algorithm, so the rebase is the change the sources document, not a stated cause.
Do I need to re-run the crypto policy command after updating Amazon Linux?
Possibly. The maintainer's comment on issue 1107 says that after updating an existing VM you may need to re-run sudo update-crypto-policies --set DEFAULT:PQ one more time to regenerate the OpenSSH configuration. The safe sequence the sources support is to install the update, run that command again, and then check the result with update-crypto-policies --show. The output should print DEFAULT:PQ when the PQ subpolicy is applied to the DEFAULT policy. Confirm the package version with your package manager, since the release notes list openssh-9.9p1-10.amzn2023.0.1 as the OpenSSH build.
What should I do if I cannot upgrade my Amazon Linux servers right away?
The sources supplied for this page do not describe a workaround for servers that cannot be upgraded, and they do not name a supported alternative. The options the sources do support are upgrading to the AL2023 2023.12.20260803 release or later, which carries OpenSSH 9.9, and applying the PQ subpolicy after the update. For systems that stay on older builds, the sources do not say what is supported, so ask Amazon Linux support or the maintainers through the issue tracker, and record the decision and its owner in your change process. The post-quantum guide requires AL2023.12 or higher, so older releases are outside the documented path.
How do I confirm the post-quantum SSH warning has stopped on my Amazon Linux server?
Start with the server side. Check that the installed openssh-server package is at the version in the release notes, then confirm the policy with update-crypto-policies --show, which should print DEFAULT:PQ. On the client, connect again and read the output of ssh -v, looking for the negotiated key exchange. The sources also mention a check for a server's offered algorithms: a server that offers mlkem768x25519-sha256 ahead of the classical options is in the state the AL2027 configuration guide describes as its default. The warning should not reappear on that connection. If it does, compare the client and server versions, since the sources do not describe client behavior in detail.
Is Amazon Linux 2027 affected by the post-quantum SSH warning?
The AL2027 user guide says AL2027 includes OpenSSH 9.9, up from 8.7 in AL2023, and that its default configuration accepts mlkem768x25519-sha256, mlkem768nistp256-sha256 and mlkem1024nistp384-sha384 ahead of the classical algorithms. That means the default configuration on AL2027 offers post-quantum key exchange without the policy step that AL2023 requires. The sources do not say what other clients will do with that default, so verify the negotiated algorithm in your own environment as described above. This answer covers AL2027 only, and the sources do not compare it to other Amazon Linux releases.
How DeployOpen works on this
DeployOpen handles the Amazon Linux SSH warning as a fixed-scope change: we confirm which instances still show it, set the crypto policy and OpenSSH version on each one, and document the checks that show the warning has stopped. Work runs inside your own AWS accounts and instances, with access you approve.
How we scope
- We list the AL2023 instances, AMIs and kernel versions in your accounts, and note which ones report the OpenSSH version in the release notes.
- We check whether each instance runs AL2023.12 or higher and confirm SSH or Systems Manager access before any change is planned.
- The written scope names the instances covered, the change windows and who approves them, and is agreed before work starts.
How we build
- We update crypto-policies-scripts and crypto-policies on each instance, then apply the DEFAULT:PQ subpolicy with update-crypto-policies.
- We confirm the result with update-crypto-policies --show, which should print DEFAULT:PQ, and check that the OpenSSH package matches the version in the release notes.
- Where an instance was updated earlier, we re-run the policy command once more to regenerate the OpenSSH configuration, as the AL2023 maintainer advised.
How we hand over
- You receive a per-instance record showing the before and after crypto policy, OpenSSH version and the client connection result.
- The record lists any instances that still show the warning, with the reason and the next step, so nothing is left unlisted.
- We document the commands used and the rollback steps, so your operations team can repeat the change on new instances.
How we support
- Ongoing support, upgrades and retesting are available as a retainer, covering new AMIs and later OpenSSH releases.
- We can retest after each AL2023 or AL2027 update to confirm the policy and client behavior still hold.
- Ask any provider for the written scope, deliverables and retest terms before you sign, and confirm them against the AL2023 and AL2027 documentation.

