Repository navigation
docs(transport): russh vs subprocess SSH decision matrix (SSR-3) - #4814
Merged
Merged
Conversation
Adds docs/ssh-transport-decision-matrix.md recording the post-v0.6.2 stance on SSH transport selection: russh is the preferred path, subprocess remains the compatibility fallback, and new code must not re-introduce subprocess-driven SSH for performance reasons. Anchors the v0.6.1 goodbye-phase deadlock regression (PR #4154) and cross-references ssh-transport.md, the 3-way benchmark doc, the post-fix perf audit, and the cipher/compression audit.
oferchen
added a commit
that referenced
this pull request
Aug 24, 2026
Adds docs/ssh-transport-decision-matrix.md recording the post-v0.6.2 stance on SSH transport selection: russh is the preferred path, subprocess remains the compatibility fallback, and new code must not re-introduce subprocess-driven SSH for performance reasons. Anchors the v0.6.1 goodbye-phase deadlock regression (PR #4154) and cross-references ssh-transport.md, the 3-way benchmark doc, the post-fix perf audit, and the cipher/compression audit.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
docs/ssh-transport-decision-matrix.md(SSR-3) capturing the post-v0.6.2 stance: russh is the preferred SSH transport for new deployments, the systemsshsubprocess remains the compatibility fallback, and new code must not re-introduce subprocess-driven SSH for performance reasons.docs/ssh-transport.mdso the trade-offs are discoverable from the general transport notes.Test plan
docs/ssh-transport-decision-matrix.mdon GitHub and confirm the relative links (ssh-transport.md,benchmarks/ssh-transport-3way.md,audits/ssh-daemon-perf-verification.md,audits/ssh-cipher-compression.md,design/ssh-config-parser-evaluation.md) all resolve..rsfiles modified, fmt/clippy/nextest unaffected.