What the SSH post-quantum key exchange warning means in a Go program
The warning appears in whatever tool or service the Go program feeds, not in the Go program itself. A script, deployment tool, backup job or internal service that uses golang.org/x/crypto/ssh may be the thing that reports that the connection is not using a post-quantum key exchange algorithm. The team that owns the Go program has to act, because only that team can change the key exchange settings in its code or dependencies. The people who run the downstream tool or service can confirm the symptom, but they cannot fix the negotiation from outside the program.
The connection can still be encrypted when this warning appears. A key exchange that is not post-quantum is a different property from a connection that is unencrypted, and the warning describes only the first. The package offers mlkem768x25519-sha256 only from golang.org/x/crypto v0.42.0 onward, and it is the default only when the program leaves KeyExchanges unset. A program on v0.41.0 or earlier does not offer it by default, so upgrading the dependency is the first thing to check. A program that sets KeyExchanges explicitly will negotiate only the algorithms it lists, so a list without mlkem768x25519-sha256 will produce the warning even on a current package version.
How urgent the warning is depends on the environment. A program that connects only to servers the team controls, on a network it controls, has a different risk profile from one that moves sensitive data to third parties or runs unattended jobs against partner systems. Before changing code, confirm the package version in go.mod, check whether KeyExchanges is set in the ssh.ClientConfig or ssh.ServerConfig, and ask the server operator which key exchanges it accepts. The sections below cover the checks and changes in detail.
Who has to act on the warning in Go code
The warning can come from three places: the Go program that dials the server, the server it connects to, and any third-party tool built on golang.org/x/crypto/ssh. Each group controls a different setting, so the fix depends on which one is out of line with the others.
The team that owns the Go program
This team controls the version of golang.org/x/crypto in go.mod and the Go toolchain used to build the program. The package offers mlkem768x25519-sha256 by default only from v0.42.0 onward, so a program pinned to v0.41.0 or earlier will not offer it unless the team upgrades. Check the require line for golang.org/x/crypto, then run go list -m golang.org/x/crypto to confirm the resolved version. The constant KeyExchangeMLKEM768X25519 also depends on Go 1.24 or later.
The team that sets KeyExchanges
Where the program sets the KeyExchanges field on ssh.ClientConfig, that list replaces the default set and controls what the client offers. An explicit list that omits ssh.KeyExchangeMLKEM768X25519 will keep the warning even on a current package version. Unsupported names are silently ignored, so a misspelled algorithm name produces no error. Search the codebase for KeyExchanges and confirm each entry matches the names in the package.
ssh.Config referenceThe operator of the SSH server
The server operator controls which key exchange algorithms the server accepts, set in its own configuration rather than in Go code. If the server offers no post-quantum option, a client that offers only mlkem768x25519-sha256 will fail with an AlgorithmNegotiationError, so the Go team needs the server's accepted list before changing its own settings. Ask the operator which key exchanges the server supports and whether it has been updated to include mlkem768x25519-sha256.
The maintainers of third-party tools
Any library or command-line tool that wraps golang.org/x/crypto/ssh inherits its key exchange defaults and may pin its own version. Their maintainers control whether the tool passes through the default list or overrides KeyExchanges. Check the dependency tree with go mod graph or go list -m all to find which tools bring in x/crypto, then check each tool's release notes for its x/crypto version and any key exchange setting it exposes.
The team that reads negotiated algorithms
The team that operates the program checks what was actually negotiated, using Algorithms() on the ssh.Client or ssh.Conn and reading the KeyExchange field of NegotiatedAlgorithms. This shows the result of the change, not the configured intent. Package handshake logging is gated by a constant set to false, so the program's own logging is the only record of the exchange by default.
How to check which key exchange a Go program negotiated
This sequence shows how to confirm, from inside a Go program, which key exchange the x/crypto/ssh package negotiated with the peer. It also covers the package and toolchain versions that decide which algorithms are offered, and where handshake logging is and is not enabled. The result is a recorded key exchange name for each connection that you can compare against the warning.
Confirm the x/crypto/ssh version in go.mod
Open the go.mod file in your module and find the line that requires golang.org/x/crypto. Note the version listed, for example v0.42.0 or later. Versions at or before v0.41.0 do not offer mlkem768x25519-sha256 by default, so a program on those versions will not negotiate the hybrid post-quantum key exchange unless you change the KeyExchanges setting. Run go list -m golang.org/x/crypto to confirm the version the build actually resolves, since go.sum and indirect dependencies can differ from the direct require line. You are done when the resolved version is written down.
Check the Go toolchain version
Run go version in the environment that builds and runs the program. The mlkem768x25519-sha256 key exchange depends on the crypto/mlkem package, which arrived in Go 1.24, and the source comment for the constant says it is supported from Go 1.24. Compare the reported version with the minimum your x/crypto version needs. If the toolchain is older, upgrade it or the post-quantum key exchange will not be available to the program. You are done when the toolchain version matches or exceeds the minimum you confirmed.
Ask the package which algorithms it offers
Call ssh.SupportedAlgorithms() in a short test program and print the KeyExchanges slice. The package returns the implemented algorithms without those that have known security issues, in preference order. If mlkem768x25519-sha256 appears first, your build offers it by default. If it does not appear, the module version or toolchain from the earlier steps is the likely cause. You are done when you can see the list and have checked whether the post-quantum name is in it.
Read the negotiated key exchange after connecting
After the handshake completes, call Algorithms() on the ssh.Conn returned by ssh.NewClientConn, on the ssh.Client or ssh.ServerConn, or on the ConnMetadata passed to ServerConfig callbacks. The call returns a NegotiatedAlgorithms value. Read its KeyExchange field to get the name the two sides agreed on. The same value also includes HostKey, Read and Write, which you can log next to it. You are done when the KeyExchange string is captured for the connection.
Log the key exchange for each connection
Write the KeyExchange value, the peer address and the connection time to your application log, one line per connection. Keep the entry short so you can compare entries across clients and servers. If the value is curve25519-sha256 or a Diffie-Hellman name where you expected mlkem768x25519-sha256, the peer likely did not offer the post-quantum option, or your side excluded it. Treat the logged value as the record of what happened, not as a statement about the peer's configuration. You are done when a sample of connections shows the expected names.
Handle a negotiation failure
If no shared key exchange exists, the handshake fails with an AlgorithmNegotiationError. Its message reads ssh: no common algorithm for key exchange, followed by the list you offered and the list the peer offered. Compare those two lists to see which side lacks a common option. The fix is usually to widen the KeyExchanges field on ssh.ClientConfig or ssh.ServerConfig, or to update the peer, and the choice belongs to the operator who owns each side. You are done when the error lists are understood and the mismatch is named.
Turn on handshake logging only when needed
Handshake packet logging is off by default. In the x/crypto handshake source, the logging calls are gated by the debugHandshake constant, which is set to false, so the package does not print handshake details. Changing that constant requires editing and rebuilding the vendored or forked package, which is not a normal configuration step. Rely on the Algorithms() values you already log instead, and confirm with the package documentation for your version before attempting any change. You are done when you know that the default output does not include handshake details.
Causes of the warning in Go programs and the fix for each
This table lists the situations that produce the post-quantum key exchange warning in a Go program using golang.org/x/crypto/ssh, with the cause and fix for each. Read down the first column to find the symptom you see, then check the matching row. Each fix relies on the package version, Go toolchain version and algorithm name given in the sources on this page.
| Cause | What to check | Fix |
|---|---|---|
| go.mod pins x/crypto at v0.41.0 or earlier | Open go.mod and find the golang.org/x/crypto line. At v0.41.0 or earlier, the default key exchange list does not include mlkem768x25519-sha256. | Update golang.org/x/crypto to v0.42.0 or later, then run go mod tidy. The current published version is v0.59.0, dated Nov 11, 2026. |
| Go toolchain older than 1.24 | Run go version. The mlkem768x25519-sha256 algorithm depends on the crypto/mlkem package, which was introduced in Go 1.24. | Install Go 1.24 or later and rebuild the program. The constant KeyExchangeMLKEM768X25519 is supported from Go 1.24. |
| KeyExchanges list omits mlkem768x25519-sha256 | Search the code for KeyExchanges in ssh.ClientConfig or ssh.ServerConfig. A list that does not name mlkem768x25519-sha256 offers only the algorithms in it. | Add ssh.KeyExchangeMLKEM768X25519 to the KeyExchanges list. Unsupported names are silently ignored, so confirm the name is spelled as in the package. |
| Server does not offer mlkem768x25519-sha256 | Read the negotiated key exchange with Algorithms(). An AlgorithmNegotiationError that lists the peer's offered algorithms shows no overlap with the client's list. | Ask the server operator to enable mlkem768x25519-sha256 in its SSH configuration, or add a shared algorithm to the client's KeyExchanges list if policy allows it. |
| Client and server negotiate a different key exchange than expected | Call Algorithms() on the connection and read the KeyExchange field of NegotiatedAlgorithms. | Compare the reported name with the server's offered list. Set KeyExchanges explicitly on both sides so the preferred algorithm is first in both lists. |
What to change in a Go SSH client or server
This sequence moves a Go program that uses golang.org/x/crypto/ssh onto a release that offers the hybrid mlkem768x25519-sha256 key exchange by default, and optionally pins the list of allowed key exchanges. It finishes with a check of the negotiated algorithm so you know the change took effect on each side.
Confirm the Go toolchain version
Run go version in the directory that builds the program, and confirm it reports Go 1.24 or later. The mlkem768x25519-sha256 key exchange depends on the crypto/mlkem package, which was introduced in Go 1.24, so an older toolchain cannot offer it. If the version is older, install a newer toolchain and rebuild before going further. Whoever owns the build environment, such as the developer or platform team, should make this check. It is done when the command prints a version of 1.24 or higher.
Check the current golang.org/x/crypto version
Run go list -m golang.org/x/crypto in the module directory to see which version the program currently uses. The default key exchange list only includes mlkem768x25519-sha256 from v0.42.0 onward, so a program on v0.41.0 or earlier will not offer it unless you change the pinned list. Record the version so you can compare it after the upgrade. It is done when you have the version written down.
Upgrade golang.org/x/crypto to at least v0.42.0
Run go get golang.org/x/crypto@v0.42.0 in the module directory. This raises the required version in go.mod and updates go.sum. Pinning to v0.42.0 is the minimum that makes the hybrid key exchange a default. Newer releases, such as the v0.59.0 version listed on pkg.go.dev when these facts were gathered, are also acceptable if your team's update policy allows them. It is done when go.mod shows golang.org/x/crypto at v0.42.0 or later and the command finishes without errors.
Tidy the module and rebuild
Run go mod tidy to remove unused requirements and add any missing ones, then run go build ./... to compile the whole module. Tidy also updates go.sum so that the build can verify the new module versions. Commit the updated go.mod and go.sum with the code, because a build from a clean checkout needs them. It is done when go mod tidy completes without changes you did not expect and the build succeeds.
Pin the key exchange list if the program requires it
Skip this step if the program should use the package defaults. If you need a fixed list, set the KeyExchanges field on ssh.ClientConfig or ssh.ServerConfig, which both embed ssh.Config. For a hybrid-first list, use ssh.KeyExchangeMLKEM768X25519 followed by ssh.KeyExchangeCurve25519. Unsupported names are silently ignored, so an incorrect name will not produce an error. Test the list against the server you connect to, because a list that excludes everything the peer offers will fail negotiation. It is done when the field is set in code and the program builds.
Restart the server process after the change
If the program is an SSH server built on ssh.ServerConfig, rebuild the binary and restart the running process so the new configuration and package version take effect. A server that keeps running the old binary keeps the old key exchange behavior. Restart any supervisor, service unit or container that launches the program. It is done when the new process is running and reports the new build version in its startup output or deployment record.
Confirm the negotiated key exchange
After a connection completes, call Algorithms() on the ssh.Client, ssh.ServerConn or ssh.Conn, and read the KeyExchange field of the returned NegotiatedAlgorithms. Expect mlkem768x25519-sha256 when both sides support it, and otherwise a classical algorithm such as curve25519-sha256. Log this value during testing so the result is visible. If negotiation fails outright, the error is an AlgorithmNegotiationError whose text lists what each side offered, which shows the mismatch. It is done when a test connection reports the key exchange you expect.
Read handshake logs if negotiation needs debugging
The package does not log handshake details by default, because the debugHandshake constant is set to false in its source. If you need that output, you must build a local copy of golang.org/x/crypto with that constant changed, which is a change to the dependency rather than to your program, so treat it as a temporary debugging step and remove it afterward. For routine checks, rely on the negotiated algorithm read in the previous step. It is done when you have either confirmed the expected algorithm or captured the failure text.
How the fix differs for Go services, CLI tools and vendored code
A long-running service built as a binary bakes the SSH package into the executable at build time, so the version it uses is the one that was in the module graph when the binary was compiled. Changing the version in go.mod does nothing to a binary already running in production until you rebuild it and redeploy. The key exchange offered also depends on the Go toolchain: the mlkem768x25519-sha256 algorithm needs the crypto/mlkem package, which arrived in Go 1.24, so an older toolchain cannot build it at all.
- Update the module: run
go get golang.org/x/crypto@v0.42.0or a later release, thengo mod tidy, so the package offers the post-quantum exchange by default. - Check the toolchain: confirm the
godirective ingo.modand the build machine's Go version are 1.24 or later. - Rebuild the binary: compile a new artifact, because the old binary keeps its old SSH code until replaced.
- Redeploy every instance: roll the new binary out to all replicas, not just one, so no node still offers the older list.
- Log the version at startup: print the
golang.org/x/cryptoversion fromruntime/debug.ReadBuildInfo()so you can confirm the running binary is the one you built.
Before closing the change, check the negotiated exchange on a live connection by calling Algorithms() on the connection and reading KeyExchange.
A command-line tool distributed to users is different because the SSH package is compiled into a copy you do not run yourself. You rebuild and republish the tool, and each user has to install the new release before their connections change. Until then, older copies keep the older default list, and the server will not know which copy a user runs unless the tool reports its version or its SSH handshake results.
- Rebuild with a current release: pin
golang.org/x/cryptoat v0.42.0 or later in the tool'sgo.mod, and build with Go 1.24 or later. - Publish a new version: tag a release and distribute the binary through your normal channels, since users will not receive the fix otherwise.
- Report the version: have the tool print its build version and the
x/cryptoversion, so support staff can tell old copies from new ones. - Set the exchange explicitly if needed: pass the wanted names in
KeyExchangeson thessh.ClientConfigonly when a server requires a specific choice, and leave the default otherwise. - Handle negotiation errors: when the server offers nothing in common, the error text includes the lists both sides sent, which lets you tell an outdated client from a server-side restriction.
Ask users to run the tool's version command after upgrading and to confirm the exchange it reports on a connection to your server.
Vendored code is a copy of golang.org/x/crypto stored inside your repository, usually under a vendor directory. Updating go.mod alone does not change the vendored source, so the build keeps using the copy that was checked in. The module and vendor directory must agree, and the vendored copy must come from a release that includes the default list containing mlkem768x25519-sha256.
- Re-vendor the module: run
go mod vendorafter updating the requirement, so thevendordirectory matches the version ingo.mod. - Verify the vendored version: read the
# golang.org/x/cryptoline invendor/modules.txtand confirm it shows v0.42.0 or later. - Check the vendored default list: search
vendor/golang.org/x/crypto/ssh/common.goforKeyExchangeMLKEM768X25519indefaultKexAlgosto confirm the post-quantum exchange is listed first. - Commit the updated vendor tree: review the diff in
vendor/in the same change asgo.modandgo.sum, so the repository stays consistent. - Keep the toolchain current: vendoring does not remove the Go 1.24 requirement, because the algorithm depends on
crypto/mlkemfrom the standard library.
After re-vendoring, run go build -mod=vendor on a clean checkout to confirm the vendored source, not a cached module, is the one compiled.
How to confirm the Go program now negotiates the expected key exchange
After you change the Go program, confirm the result by calling Algorithms() on the connection and reading the KeyExchange field of the returned NegotiatedAlgorithms. Call it on the ssh.Conn returned by NewClientConn, on the ssh.Client or ssh.ServerConn, or on the ConnMetadata passed to the ServerConfig callbacks. Run the same connection against the server you were targeting, and check that KeyExchange reads mlkem768x25519-sha256. That is the value of the constant KeyExchangeMLKEM768X25519, and it means the hybrid of ML-KEM-768 and Curve25519 with SHA-256 was agreed. If the field reads curve25519-sha256 or another classical value, the peer did not offer the hybrid, or your configuration excluded it, and the change has not taken effect. Confirm the module version too, since a program built against golang.org/x/crypto v0.41.0 or earlier does not offer the hybrid by default.
Watch for negotiation failures after the change. When no key exchange is shared with the peer, the handshake returns an AlgorithmNegotiationError, and its message lists both sides: ssh: no common algorithm for key exchange; we offered: ..., peer offered: .... Read the peer list in that message to see what the server accepts, and do not assume the hybrid will be available everywhere. Keep an eye on connection errors in your application logs, and treat a rise in these errors after a deployment as a signal to restore the previous key exchange list while you check the peer. The package's handshake logging is disabled in the source by default, so the negotiated values from Algorithms() and the error text are the evidence to record. Ask the server operator which key exchanges they support before you pin an explicit list in KeyExchanges.
What can break after changing Go SSH key exchange
Changing the key exchange in a Go SSH program affects more than the connection itself. Older peers, pinned lists, build toolchains and dependency upgrades can each change what gets negotiated, so verify each one rather than assuming the change took effect.
Older peers without mlkem768x25519-sha256
Servers and clients that predate the hybrid algorithm will not offer mlkem768x25519-sha256, so the handshake falls back to another algorithm both sides support. If you require the hybrid algorithm and the peer lacks it, negotiation fails with an AlgorithmNegotiationError rather than connecting quietly. Ask each partner server which key exchanges it offers, and test a connection with the hybrid algorithm listed first before you make it the only option.
x/crypto/ssh docsPinned lists that silently drop values
The KeyExchanges field documentation says unsupported values are silently ignored. A pinned list that names an algorithm your toolchain or package version does not implement will shrink without any error, so the connection may negotiate something you did not intend. Do not assume a list applies as written. Log the negotiated algorithm after each handshake with Algorithms() and confirm it matches the value you set.
common.go sourceCI builds on older Go toolchains
The mlkem768x25519-sha256 constant is supported from Go 1.24, and the x/crypto commit that added it requires the crypto/mlkem package from that release. A CI image or build container still on an older toolchain can fail to compile the code or, depending on how the build is set up, behave differently from developer machines. Pin the Go version in your build configuration and run the same handshake tests in CI that run locally.
Dependency upgrades that change behavior
The default key exchange order in x/crypto/ssh changed between tagged releases. At v0.41.0 the hybrid algorithm was absent from the defaults, and at v0.42.0 it became the first entry. Upgrading the module can therefore change which algorithm your program offers without any code change. Review the release notes for each golang.org/x/crypto upgrade and rerun your negotiation tests after bumping the version.
v0.42.0 defaultsFailures that hide in handshake logs
The package does not log handshake details by default, because its debug flag is off in the source. A failed or downgraded negotiation can therefore produce no log line unless you read the negotiated values yourself. Record the KeyExchange field from the returned NegotiatedAlgorithms for every connection, and alert when it differs from the expected value.
When a Go team should get outside help with the warning
Most Go teams can handle this warning in their own code: check the golang.org/x/crypto/ssh version, set KeyExchanges on the config, and read the negotiated algorithm. Outside help becomes worth considering when the fix depends on work the team cannot do directly. One case is a program the team cannot rebuild, such as a closed-source binary or a vendor tool that embeds an older SSH library. Another is a server the team does not control, where the key exchange list is set by a provider or a partner's appliance and the team can only report the mismatch. A third is many services affected at once, where a single shared dependency or base image has to be upgraded across dozens of repositories, pipelines and deployment targets. Confirm before you start which of these applies, because each one changes who has to act.
A regulated environment adds a different reason to ask for help. If an assessor, customer or internal risk function will want evidence that the change was made, tested and kept in place, the team needs a record of the versions in use, the configuration set, the test results and the rollback plan. DeployOpen can plan the change, implement the configuration and upgrade work in the client's own infrastructure, and document each step so the client's compliance team can review it. DeployOpen does not issue audit reports, attestations or certifications. Those come from independent auditors and certification bodies, and the client should confirm early which evidence its assessor expects.
When you ask for a quote, ask for the scope in writing: which repositories and services are covered, which Go and x/crypto versions are in use, which servers the clients connect to, how testing will be done, and who signs off the changes. Confirm also whether the work includes ongoing upgrades, because the golang.org/x/crypto/ssh package is updated regularly and the default key exchange list may change again.
Questions Go developers ask about the SSH post-quantum warning
Is the connection still encrypted when the post-quantum warning appears?
Yes. The warning reports that the negotiated key exchange is not the post-quantum hybrid, not that encryption is missing. The session still uses the key exchange that both sides agreed on, such as curve25519-sha256. What the warning tells you is that the post-quantum option was not used for this connection. Check which key exchange was negotiated before deciding what to change, because the answer depends on which algorithms your Go program offered and which ones the server accepts.
Is the post-quantum SSH warning urgent for my Go application?
Treat it as planned migration work, not an emergency. The warning shows that a post-quantum hybrid key exchange was not negotiated for this session. How urgent it is depends on your own risk assessment, the sensitivity of the data carried over the connection, and your organization's migration plan. Confirm the requirement with your security team and the server operator. Note that the hybrid mlkem768x25519-sha256 key exchange is defined in RFC 10042, dated August 2026, which gives you a standard to test against.
Can I silence the post-quantum key exchange warning in Go?
You should fix the negotiation rather than hide the message. If your program does not offer the hybrid, set KeyExchanges on ssh.ClientConfig or ssh.ServerConfig and include ssh.KeyExchangeMLKEM768X25519 first, then the classical algorithms you still need for compatibility. Remember that KeyExchanges silently ignores unsupported values, so verify the result with Algorithms() on the connection. Suppressing the message in your own logging code removes the signal without changing the key exchange, which leaves you no record of what was negotiated.
Why does the post-quantum warning appear after I update a dependency?
A dependency update can change the default key exchange list. In golang.org/x/crypto/ssh, the hybrid mlkem768x25519-sha256 was not in the default list at tag v0.41.0. At v0.42.0 it became the first entry, and the v0.59.0 release, published Nov 11, 2026, keeps it there. So after moving to a newer version, your program may offer the hybrid where it did not before, and a server that does not accept it may negotiate a different algorithm. Compare the old and new Algorithms() output to confirm the change.
Which Go version do I need for the post-quantum key exchange?
The hybrid key exchange mlkem768x25519-sha256 depends on the crypto/mlkem package, which was introduced in Go 1.24. The x/crypto commit that added the algorithm, dated 11 April 2025, states this requirement, and the pkg.go.dev page for ssh.KeyExchangeMLKEM768X25519 says it is supported from Go 1.24. Check your toolchain version with go version and confirm that your go.mod directive matches the x/crypto version you depend on.
What should I do if my team cannot upgrade the Go toolchain?
If your toolchain is older than Go 1.24, you cannot use mlkem768x25519-sha256 because its implementation depends on crypto/mlkem. In that case, you can still set KeyExchanges explicitly to the classical algorithms your server accepts, such as ssh.KeyExchangeCurve25519, so the negotiation is predictable and documented. Record the decision and the reason, then plan the toolchain upgrade as a separate task. Ask the server operator whether they accept the hybrid, so you know what to expect after the upgrade.
How do I confirm which key exchange my Go SSH connection negotiated?
Call Algorithms() on the connection after the handshake and read the KeyExchange field of the returned NegotiatedAlgorithms. You can call it on the ssh.Conn from NewClientConn, on ssh.Client or ssh.ServerConn, or on the ConnMetadata passed to server config callbacks. The package does not log handshake details by default, because the debug flag in handshake.go is set to false, so this field is the reliable check. Log the value in your own code if you need a record.
What does a no common algorithm error mean in Go SSH?
It means the client and server could not agree on any key exchange. The Go package returns an AlgorithmNegotiationError with the text "ssh: no common algorithm for %s; we offered: %q, peer offered: %q". Read the two lists in the message to see what each side offered. Often the client offers only the hybrid or only classical algorithms that the server does not accept. Adjust KeyExchanges so that at least one algorithm appears in both lists, then retest the connection.
How DeployOpen helps Go teams fix SSH key exchange
DeployOpen starts by reading how your Go programs call golang.org/x/crypto/ssh, which Go and x/crypto versions they build with, and which key exchanges they set or leave to defaults. We then change the configuration, test the negotiated key exchange against your SSH servers, and hand over a written record of what was changed and how to confirm it.
How we scope
- We list every program that imports golang.org/x/crypto/ssh and record its module version and Go toolchain version.
- We record which programs set KeyExchanges explicitly and which rely on the package defaults.
- The written scope names the servers to test against and the environments where changes will be verified.
How we build
- We update x/crypto and the Go toolchain where the current version offers mlkem768x25519-sha256 by default.
- We set KeyExchanges in ssh.ClientConfig or ssh.ServerConfig only where the server requires a specific order.
- We confirm each change by calling Algorithms() on the connection and reading the KeyExchange field.
How we hand over
- You receive the changed source, the module versions used, and a list of every connection tested with its negotiated key exchange.
- The handover includes the commands and code we used to read the negotiated algorithm, so your team can repeat the check.
- We document how to read AlgorithmNegotiationError messages and what to change when a server offers no common algorithm.
How we support
- Engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts.
- Ongoing support, upgrades and continuous testing are available as a retainer for teams that ship Go SSH code regularly.
- A quote follows from the written scope, and we can review your Go SSH setup on request to prepare that scope.

