Repository navigation
fix(ssh): settle the non-blocking points of the ssh workspaces review (#468) - #475
Merged
amirlehmam merged 7 commits intoNov 25, 2026
Merged
Conversation
…n re-parse a file name Review of amirlehmam#468, non-blocking (fish login shell). Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…ect-route command Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…argets share Review of amirlehmam#468, non-blocking (resolveRemoteIdentity). Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Review of amirlehmam#468, non-blocking (targets on window close). Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Review of amirlehmam#468, non-blocking (ControlPersist). Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…ettled Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…delete Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
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.
Follow-up to #468, for the points the review listed as non-blocking and that were still open after
4b70e72(the four blockers) merged.What changes
sh -c 'eval "$(echo <base64>|base64 -d)"'(loginShellNeutralCommand), so the account's login shell only sees base64 inside fixed single quotes, which sh, bash, zsh, fish and csh read the same way. A file name cannot be re-parsed by it. Needsbase64on the host (the worker already does).-F,-J,-i, options, WSL distro) is refused byresolveRemoteIdentityasambiguous_target, never resolved to the first target.ControlPersist=300outliving wmuxssh -O exitfor each distinct WSL-route connection (ssh-master.ts; at most 8, 1.5 s each, errors ignored). Not fixed for a kill: the master then lives up to 300 s. A shorter persist would also end the worker's connection sooner (they are tied bySSH_CONNECTION_PERSIST_S) and cost a new login after each short pause.ControlMaster=nothere). Documented.docs/remote-workspace-views.mdgets a table with these outcomes.Verification
tscclean on both projects,eslintclean on the changed files.npm run test:posix: 21 files, 508 tests, on Linux.masteratd1eda84.Not verified
ssh -O exit(only the argument order was checked, against OpenSSH 8.9).wsl.exe.🤖 Generated with Claude Code