Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add tunnelUsername parameter #586

Merged
merged 2 commits into from Nov 22, 2023
Merged

Conversation

gkc
Copy link
Contributor

@gkc gkc commented Nov 22, 2023

- What I did

  • Add command line option '-U' to allow a different tunnel username to be supplied than for the 'real' ssh session that the user will subsequently execute
  • Partially addresses Initial tunnel changes #572

- How I did it
See commits and additions to test pack.

- How to verify it
Tests pass

…ial ssh tunnel. When not supplied, the username for the initial tunnel is the `remoteUsername`
…nnel.resolveTunnelUsername

style: ran dart format
test: added unit tests of SshnpdChannel for tunnelUsername supplied and tunnelUsername not supplied
@gkc gkc marked this pull request as ready for review November 22, 2023 15:21
@gkc gkc mentioned this pull request Nov 22, 2023
@XavierChanth XavierChanth merged commit bc69bf7 into trunk Nov 22, 2023
11 checks passed
@gkc gkc deleted the feat/add-tunnelUsername branch February 7, 2024 13:29
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.

None yet

2 participants