Skip to content

docs(transport): russh vs subprocess SSH decision matrix (SSR-3) - #4814

Merged
oferchen merged 1 commit into
masterfrom
docs/ssr-3-russh-vs-subprocess-matrix
May 23, 2026
Merged

oferchen merged 1 commit into
masterfrom
docs/ssr-3-russh-vs-subprocess-matrix

Conversation

@oferchen

Copy link
Copy Markdown
Owner

Summary

  • Add 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 system ssh subprocess remains the compatibility fallback, and new code must not re-introduce subprocess-driven SSH for performance reasons.
  • Anchor the v0.6.1 SSH push regression (goodbye-phase deadlock, ~200x slower than upstream) and the PR fix(ssh): resolve goodbye-phase deadlock + load ~/.ssh/config in russh path #4154 fix as the historical lesson the matrix encodes.
  • Cross-link the matrix from the existing docs/ssh-transport.md so the trade-offs are discoverable from the general transport notes.

Test plan

  • Render docs/ssh-transport-decision-matrix.md on 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.
  • CI: docs-only change, no .rs files modified, fmt/clippy/nextest unaffected.

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
oferchen merged commit 98f5d46 into master May 23, 2026
10 checks passed
@github-actions github-actions Bot added the documentation Improvements or additions to documentation label May 23, 2026
@oferchen
oferchen deleted the docs/ssr-3-russh-vs-subprocess-matrix branch May 28, 2026 03:37
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant