Skip to content

SSH agent forwarding into local and remote devcontainers - #5

Merged
MythreyaK merged 4 commits into
devfrom
ssh-agent-fwd
Sep 28, 2026
Merged

MythreyaK merged 4 commits into
devfrom
ssh-agent-fwd

Conversation

@MythreyaK

Copy link
Copy Markdown
Owner

Uses docker exec-based request streaming over stdin/stdout. Works for both local and remote devcontainer setups.

Closes #3.

- simplify spawn to stream data, reorg run to use it
- add collectOutput helper for run
- wire ssh-agent fwd through new spawn interface, so
  that it works on both local and remote devcontainer
  setups
- forwarded socket is unique per window, simplifying
  state management (there is none)
test for a potential bug that might hang the socket
stream
see prev commit for the test cases
@MythreyaK
MythreyaK merged commit 9c7acf8 into dev Sep 28, 2026
5 checks passed
@MythreyaK
MythreyaK deleted the ssh-agent-fwd branch September 28, 2026 00:52
@MythreyaK MythreyaK mentioned this pull request Oct 8, 2026
4 of 22 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant