Repository navigation
Support passphrase-protected keys for background SSH tunnels on Unix - #10
Merged
Merged
Conversation
mirivlad
added a commit
that referenced
this pull request
Nov 15, 2026
…#10) * feat(tunnel): add isolated agent for encrypted-key background tunnels * feat(tunnel): add isolated agent for encrypted-key background tunnels * feat(tunnel): manage encrypted-key agent lifecycle alongside SSH tunnels * feat(model): track isolated SSH agent owned by background tunnel * feat(tunnel): permit key+passphrase background starts in CLI and TUI * feat(tunnel): permit key+passphrase background starts in CLI and TUI * feat(tunnel): permit key+passphrase background starts in CLI and TUI * fix(tui): enable encrypted-key background action on Unix and explain limitations * fix(tui): enable encrypted-key background action on Unix and explain limitations * test(tunnel): cover encrypted-key background tunnel availability and vault unlock * test(tunnel): cover encrypted-key background tunnel availability and vault unlock * test(tunnel): cover encrypted-key background tunnel availability and vault unlock * test(tunnel): verify encrypted Ed25519 unlock in isolated ssh-agent * docs: describe safe background tunnels for passphrase-protected SSH keys * style: gofmt imports and regression test spacing * style: gofmt imports and regression test spacing * style: gofmt imports and regression test spacing * fix(tunnel): unlock vault lazily only for encrypted-key background profiles * fix(tunnel): unlock vault lazily only for encrypted-key background profiles * fix(tunnel): unlock vault lazily only for encrypted-key background profiles * security(tunnel): constrain stale agent cleanup to private temp dirs * test(tunnel): exercise encrypted-key SSH forwarding end-to-end with local SSH server * style: gofmt integration-test field alignment
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.
Problem
Background tunnel launch rejects
key_passphraseprofiles, including the local Portainer forwarding scenario (127.0.0.1:9443 → 127.0.0.1:9443).Changes
key_passphrasein CLI, dashboard actions, and forwards screen on Linux/macOS.Verification
Do not merge/release until checks and real SSH smoke test are complete.