Does GitHub SSH access already use post-quantum key exchange?
For most platform engineers, GitHub SSH access already uses a post-quantum hybrid key exchange, and no customer setting is required. On github.com and GitHub Enterprise Cloud with data residency (outside the US region), GitHub enabled sntrup761x25519-sha512 on 2025-09-17. OpenSSH 9.0 or newer selects it automatically when the client prefers it, so the work for your team is to confirm that developer machines and CI runners run a sufficiently recent client and that the negotiation actually picks the new algorithm. The change covers SSH only. It does not affect HTTPS remotes, so clones and pushes over ` see no change from this key exchange. The US region is excluded because GitHub states that only FIPS-approved cryptography may be used there and this algorithm is not FIPS-approved. If your organization has US-region tenants or handles US federal requirements, plan for that gap and do not assume coverage there.
The next step is verification rather than configuration. GitHub's guidance is to run ssh -v git@github.com exit 2>&1 | grep 'kex: algorithm:' from each client type and to list the client's supported key exchanges with ssh -Q kex. Run the check from a developer laptop, a build server and a self-hosted runner, because each may ship a different OpenSSH version. If a client does not offer sntrup761x25519-sha512, or a client is older than OpenSSH 9.0, it falls back to an existing algorithm without post-quantum protection. Record the negotiated algorithm in your inventory per client image, and confirm the exact client versions with your operating system or image vendor, since the sources here do not list them for every distribution.
GitHub also published a further change. Its SSH changelog dated 2026-09-22 adds the post-quantum key exchange mlkem768x25519-sha256 on 2026-10-14 for github.com and GitHub Enterprise Cloud with data residency, again excluding the US region, and it arrives in GitHub Enterprise Server 3.24. The same changelog removes ssh-rsa (RSA with SHA-1) and diffie-hellman-group-exchange-sha256, with brownouts on 2026-11-04 and 2026-12-09 and removal on 2027-01-13 on github.com. Those removals can break older clients, so test them before the brownout dates, and plan client upgrades to clear both the new key exchange and the removals together.
Which GitHub deployments and clients get post-quantum key exchange
This table lists each GitHub deployment and client type, the post-quantum SSH key exchange it receives, the date it took effect, and the source that states it. Read the rows to confirm which of your Git access paths need a client change and which already negotiate the post-quantum algorithm. The main takeaway is that github.com and most Enterprise Cloud regions are covered, the US region is excluded, and Enterprise Server coverage depends on the release you run.
| Deployment or client | Key exchange algorithm | Date | Source |
|---|---|---|---|
| github.com and GitHub Enterprise Cloud with data residency (non-US) | sntrup761x25519-sha512 | 2025-09-17 (announced 2025-09-15) | GitHub PQ SSH blog |
| GitHub Enterprise Cloud US region | Not offered (algorithm is not FIPS-approved) | Not applicable | GitHub PQ SSH blog |
| github.com and GitHub Enterprise Cloud with data residency (non-US), added key exchange | mlkem768x25519-sha256 | 2026-10-14 | GitHub SSH changelog 2026-09-22 |
| GitHub Enterprise Server 3.19 | sntrup761x25519-sha512 | Included in release; date not stated in sources | GitHub PQ SSH blog |
| GitHub Enterprise Server 3.24 | mlkem768x25519-sha256 | Arrives in release; date not stated in sources | GitHub SSH changelog 2026-09-22 |
| OpenSSH 9.0 or newer | sntrup761x25519-sha512 selected automatically when preferred | Applies from 2025-09-17 on github.com | GitHub PQ SSH blog |
| Older SSH clients | Fall back to an existing algorithm without post-quantum protection | Applies from 2025-09-17 on github.com | GitHub PQ SSH blog |
| GitHub Enterprise Server latest release (3.22.6, checked 2026-12-04) | No post-quantum entry in the release notes | Released 2026-11-22 | GHES release notes |
How to confirm and enable post-quantum SSH key exchange with GitHub
This sequence checks whether your developer machines and CI runners can negotiate the post-quantum SSH key exchange that GitHub enabled for github.com, confirms the algorithm actually used in each connection, and upgrades clients that cannot offer it. The result is a recorded, repeatable check for SSH access to GitHub, with HTTPS and the US region handled separately.
Check the OpenSSH version on each client
Run ssh -V on every developer workstation and CI runner that clones or pushes to GitHub over SSH. Post-quantum key exchange on github.com requires an OpenSSH client that supports the hybrid algorithm, and the GitHub engineering post states that OpenSSH 9.0 or newer selects it automatically when the client prefers it. Record the version string per machine or runner image so the inventory can be checked later. This step is done when every SSH client in scope has a recorded version number, and any client older than 9.0 is flagged for upgrade in step five.
List the key exchange algorithms each client offers
On each client, run ssh -Q kex to print the key exchange algorithms that client supports. Look for sntrup761x25519-sha512 (also written sntrup761x25519-sha512@openssh.com) in the output. Its presence shows the client can offer the hybrid post-quantum algorithm GitHub enabled on 2025-09-17 for github.com and GitHub Enterprise Cloud with data residency, except the US region. Its absence means the client cannot negotiate it, whatever the version number says. This step is done when the list for each client is saved and every client either shows the algorithm or is marked for upgrade.
Confirm the negotiated algorithm on a live connection
Run ssh -v git@github.com exit 2>&1 | grep 'kex: algorithm:' on each client. The command opens a connection, prints the key exchange algorithm the server and client agreed on, and exits. A line showing sntrup761x25519-sha512 confirms that the connection is post-quantum protected for key exchange. A line showing a classical algorithm means the client offered a list that did not include the hybrid option, or the client preferred a different algorithm, so the configuration needs review. This check proves negotiation for SSH key exchange only. It does not cover signatures, TLS or the commit signing methods GitHub documents separately. This step is done when each client has produced one recorded negotiated algorithm line.
Upgrade clients that cannot negotiate the algorithm
For each client flagged in steps one or two, upgrade OpenSSH to version 9.0 or newer using the platform's package manager or the runner image build, then repeat the ssh -Q kex listing. On CI runners, change the base image or the install step in the pipeline definition and rebuild, because a running runner keeps its installed client. Where a client is pinned to an older version for compatibility, record that exception and the connection it affects, since such connections fall back to an algorithm without post-quantum protection. This step is done when every in-scope client lists the hybrid algorithm and any remaining exceptions are written down with an owner.
Re-run the negotiation check after upgrades
After upgrades are installed, run the ssh -v git@github.com exit 2>&1 | grep 'kex: algorithm:' command again on each upgraded machine and runner image, and compare the output with the earlier result. Do this from the same network path and with the same SSH configuration the team normally uses, because a per-host configuration file can override the preferred algorithms. Save the new output alongside the inventory entry for that client. This step is done when every upgraded client shows the post-quantum algorithm in a fresh connection, and the saved output is dated.
Handle the US region and HTTPS remotes separately
GitHub excludes the US region from sntrup761x25519-sha512, because only FIPS-approved cryptography may be used there and that algorithm is not FIPS-approved. Confirm with GitHub which region your organization is in, and if it is the US region, record that the post-quantum key exchange is not available for SSH access and treat it as an exception. Separately, the GitHub engineering post states that this change affects SSH access only and does not affect HTTPS, so remotes that use https:// need their own review and are not confirmed by this sequence. Check each repository's remote URL with git remote -v and record which protocol each one uses. This step is done when the region is confirmed in writing and every remote is listed as SSH or HTTPS.
How the setup differs for developer machines, CI runners and Enterprise Server
On a developer machine, the post-quantum key exchange on github.com is chosen by the local OpenSSH client, not by a customer setting. GitHub states that no customer setting is needed on github.com: OpenSSH 9.0 or newer selects the hybrid algorithm sntrup761x25519-sha512 automatically when the client prefers it, and older clients fall back to an existing algorithm without post-quantum protection. The sources also say the change affects only SSH access, not HTTPS.
- Client version: Check that
ssh -Vreports OpenSSH 9.0 or newer. - Offered algorithms: Run
ssh -Q kexto list the key exchange methods the client supports. - Negotiated algorithm: Run
ssh -v git@github.com exit 2>&1 | grep 'kex: algorithm:'to see what was agreed. - Host keys: GitHub publishes RSA, ECDSA and Ed25519 host keys; confirm the fingerprints against GitHub's published list.
- Scope: HTTPS remotes are not affected by this change.
Confirm the negotiated algorithm after any client upgrade, since older clients on the same machine will silently fall back.
CI runners and self-hosted runners open SSH connections the same way a workstation does, so the same client rules apply: the runner's OpenSSH version decides whether the post-quantum key exchange is offered. The runner image, not the developer's laptop, is what you must check, and the operating system image often pins an older OpenSSH than a current workstation.
- Runner image: Record the OpenSSH version in the image that runs your jobs, and check it with
ssh -V. - Key exchange check: Run the same
ssh -Q kexandssh -v git@github.comcommands inside a job step to confirm what the runner actually negotiates. - Authentication keys: The sources say GitHub deletes SSH keys unused for a year, and that new RSA keys uploaded after 2026-10-14 must be at least 3072 bits, so review the deploy keys your pipelines use.
- Actions tokens: The OIDC sample in GitHub's documentation shows RS256 JWT signing; these tokens are not an SSH key exchange setting and are outside this page's scope.
- Fallback risk: A runner on an older image negotiates a classical algorithm without any error, so the job still succeeds.
For a self-hosted runner, confirm the image version with your platform team, since the sources do not say how the runner software selects algorithms.
GitHub Enterprise Cloud with data residency in the US region is excluded from the hybrid SSH key exchange sntrup761x25519-sha512. GitHub states that only FIPS-approved cryptography may be used in that region and that this algorithm is not FIPS-approved. The sources do not say the US region has a post-quantum key exchange at all, so treat it as unconfirmed.
- Exclusion: The 2025-09-15 announcement covers github.com and Enterprise Cloud with data residency except the US region.
- Later algorithm: The 2026-09-22 changelog adds
mlkem768x25519-sha256for the same regions except the US region. - TLS change: From 2026-10-07, Enterprise Cloud with data residency stops accepting TLS connections from clients that offer only X25519, while P-256 and P-384 remain supported.
- Removals: The changelog removes
ssh-rsa(RSA with SHA-1) anddiffie-hellman-group-exchange-sha256, with removal on 2027-01-13 on github.com. - Confirm with GitHub: Ask GitHub in writing whether the US region will receive any post-quantum key exchange, and on what date.
The sources do not describe how the US region handles the later removals, so confirm that with the vendor as well.
GitHub Enterprise Server is the only setup in this group where you control the SSH cipher list yourself. The sources say the sntrup761x25519-sha512 change is included in Enterprise Server 3.19, and the mlkem768x25519-sha256 change arrives in 3.24. The latest release listed as of 2026-12-04 is 3.22.6, released 2026-11-22, and its portion read mentions no post-quantum entry.
- Settings exposed: Use the
github-ssl.ssh-kex-algorithmskey inghe-configto set key exchange methods. Other related keys aregithub-ssl.ssh-ciphers,github-ssl.ssh-mac-algorithmsandgithub-ssl.ssh-signature-types. - Validate: Run
ghe-crypto list <type>to see the defaults, andghe-crypto check <type> <list>to validate a proposed list before applying it. - Apply: Run
ghe-config-applyto apply the change. - Defaults: Empty values from the view commands mean the instance uses the secure defaults; instances provisioned from 3.19 have new defaults, while existing instances stay compatible.
- Ports: The cipher controls cover SSH on port 22 for Git and port 122 for the administrative shell.
Before changing the key exchange list, confirm the release you run and whether its defaults already include the hybrid algorithm.
Where the post-quantum key exchange is negotiated in an SSH connection to GitHub
The negotiation starts when the client sends its list of supported key exchange algorithms in the SSH handshake, and it ends when GitHub's endpoint selects one. The client's OpenSSH version and its preference order decide the outcome. If the client prefers sntrup761x25519-sha512 and runs OpenSSH 9.0 or newer, GitHub selects it, with no setting needed on github.com. Older clients fall back to a classical algorithm without post-quantum protection. Check the result with ssh -v git@github.com exit 2>&1 | grep 'kex: algorithm:'.
The client's kex offer determines whether GitHub negotiates the post-quantum hybrid algorithm.
What can go wrong when enabling post-quantum SSH key exchange with GitHub
Turning on post-quantum SSH key exchange for GitHub is mostly a client-side change, but several separate GitHub changes land in the same window and can break access or leave a connection without post-quantum protection. Check each of these before you rely on the setup in production.
Older clients fall back silently
The hybrid algorithm sntrup761x25519-sha512 is selected automatically only by OpenSSH 9.0 or newer when the client prefers it. Older clients negotiate an existing classical algorithm without any post-quantum protection, and nothing in the connection warns you. Check the negotiated algorithm with ssh -v git@github.com exit 2>&1 | grep 'kex: algorithm:' on each machine and CI runner, and confirm that the output shows the post-quantum name rather than assuming it does.
US region excluded
GitHub excludes the US region from sntrup761x25519-sha512 because only FIPS-approved cryptography may be used there and this algorithm is not FIPS-approved. Teams with US-region tenants or repositories should not expect the same negotiated result as other regions. Confirm the region of each GitHub instance you connect to before you record the setup as post-quantum.
GitHub PQ SSH blogThe ssh-rsa removal brownouts
GitHub removes the ssh-rsa signature type (RSA with SHA-1) and the diffie-hellman-group-exchange-sha256 key exchange. Brownouts are scheduled on 2026-11-04 and 2026-12-09, and removal on github.com takes effect on 2027-01-13. Clients or keys that depend on ssh-rsa will fail during a brownout, so audit your ~/.ssh/config and CI images for these identifiers before the window opens.
New RSA keys need 3072 bits
New RSA keys uploaded after 2026-10-14 must be at least 3072 bits for signing and authentication. A 2048-bit key that works today may be refused when you add it to a new account or machine after that date. Generate new RSA keys at 3072 bits or larger, or move to Ed25519 or ECDSA, before you rotate keys as part of this change.
GitHub SSH changelogX25519-only TLS ends for data residency
From 2026-10-07, GitHub Enterprise Cloud with data residency stops accepting TLS connections from clients that offer only X25519 for key agreement. P-256 and P-384 remain supported. Clients built around X25519-only TLS settings will fail to connect to these tenants, so test HTTPS and API access from each client configuration before the change applies to your tenant.
GitHub X25519 TLS changelogHTTPS remotes stay unchanged
The SSH key exchange change affects only SSH access. Repositories cloned over ` remotes are not covered by it, so their connections keep their current key exchange and show no post-quantum protection in this setup. If your teams or pipelines use HTTPS remotes, record them separately in your inventory and do not count them as covered by the SSH change.
GitHub PQ SSH blogQuestions about enabling post-quantum key exchange with GitHub
Is GitHub SSH access quantum safe?
The sources support a narrower statement: GitHub has enabled a hybrid post-quantum SSH key exchange, sntrup761x25519-sha512, on github.com and GitHub Enterprise Cloud with data residency, except the US region, from 2025-09-17. That protects the key exchange step of SSH sessions only. The GitHub blog post does not describe post-quantum signatures or TLS, and it does not say that SSH access meets any compliance requirement. Treat this as one improvement to evaluate, and confirm the current state of your own setup with GitHub's documentation and your own tests.
Do I need to change a GitHub setting to turn on post-quantum SSH on github.com?
No customer setting is needed on github.com for sntrup761x25519-sha512. GitHub's announcement says that OpenSSH 9.0 or newer selects it automatically when the client prefers it. Clients that are older, or that have this algorithm disabled, fall back to an existing algorithm without post-quantum protection. The setting you control is therefore the client, not GitHub. For GitHub Enterprise Server, the algorithm list is managed with ghe-config keys such as github-ssl.ssh-kex-algorithms, so check the server side there.
Which OpenSSH version do I need for post-quantum key exchange with GitHub?
The GitHub announcement names OpenSSH 9.0 or newer as the version that selects sntrup761x25519-sha512 automatically. Confirm the version on each developer machine and CI runner, since many systems ship older builds. Run ssh -V to check the version, and run ssh -Q kex to list the key exchange algorithms your client supports. If the list does not include sntrup761x25519-sha512, the client cannot negotiate it, whatever its version number says. Check your distribution's packages, and treat any vendor-patched builds as needing their own confirmation.
Does enabling post-quantum key exchange with GitHub cost extra?
The sources do not state a price, and the change itself is delivered by GitHub as part of its service. Your cost comes from the work on your side: verifying client versions on developer machines and CI runners, updating images and packages where needed, and testing. For Enterprise Server, the cost depends on whether you can move to a release that includes the change, which the sources say is 3.19 for this algorithm. Ask your GitHub account contact to confirm any licensing or plan implications before you commit a budget, and treat effort estimates as internal planning figures.
What breaks when I turn on post-quantum SSH key exchange for GitHub?
The sources describe no breakage from the sntrup761x25519-sha512 change itself, since clients that do not support it fall back to an existing algorithm. Related changes can break things, though. GitHub's changelog says the ssh-rsa signature type and diffie-hellman-group-exchange-sha256 key exchange are removed on github.com, with brownouts on 2026-11-04 and 2026-12-09 and removal on 2027-01-13. The same changelog says new RSA keys uploaded after 2026-10-14 must be at least 3072 bits. Check your clients and known_hosts entries against these dates, and note that https:// remotes are not affected.
How do I check which key exchange algorithm a GitHub SSH session negotiated?
Run ssh -v git@github.com exit 2>&1 | grep 'kex: algorithm:'. GitHub documents this command, and the output names the key exchange algorithm the session used. If the output shows sntrup761x25519-sha512, the session used the post-quantum hybrid. If it shows an earlier algorithm, the client either lacks support or did not prefer it. Run the check on each client type you operate, including CI runners, because a different OpenSSH build or configuration can produce a different result.
Can my team enable post-quantum key exchange with GitHub ourselves, or do we need outside help?
The client-side steps in the sources are simple to run: confirm the OpenSSH version, list the supported key exchanges, and check the negotiated algorithm. Many teams can do this in-house on developer machines and CI runners. Outside help is more useful for inventory across a large fleet of images and runners, for Enterprise Server configuration through ghe-crypto and ghe-config-apply, and for testing that your build pipelines still pass after the removal dates. DeployOpen plans and implements these changes in client infrastructure, with fixed-scope engagements agreed in writing before work starts. Scope is confirmed in writing before work begins.
How DeployOpen works on this
DeployOpen works with platform teams to plan, configure and verify post-quantum key exchange for SSH access to GitHub. Each engagement starts with a written scope that names the clients, runners and GitHub deployments involved. We then test the negotiated algorithm on real machines and document the result for the people who must approve it.
How we scope
- We list every developer machine, CI runner and automation host that connects to GitHub over SSH.
- We record the OpenSSH client version on each, since OpenSSH 9.0 or newer is needed for automatic selection of the hybrid key exchange.
- We agree in writing which GitHub deployments are in scope, including github.com, Enterprise Cloud with data residency, or Enterprise Server.
How we build
- We check the negotiated key exchange with the verbose SSH output and the client algorithm list, and record the result per host.
- We update client configuration and preferred key exchange settings where a client needs them, and keep changes limited to SSH access.
- For GitHub Enterprise Server, we review the ghe-config and ghe-crypto settings that control SSH key exchange before any change is applied.
How we hand over
- We deliver a dated inventory of hosts, client versions and the key exchange each one negotiates with GitHub.
- We document the fallback behavior for older clients, which can connect without post-quantum protection, so the risk owner can decide on it.
- We provide the verification commands and a short runbook so your team can repeat the checks after changes.
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 for client upgrades, retesting and changes to GitHub's SSH algorithm lists.
- Confirm with GitHub and your administrators any dates for removed algorithms, such as the announced ssh-rsa and group-exchange removals, before planning changes.

