-
Notifications
You must be signed in to change notification settings - Fork 229
sshdriver: Add port forwarding #751
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
sshdriver: Add port forwarding #751
Conversation
Codecov Report
@@ Coverage Diff @@
## master #751 +/- ##
========================================
- Coverage 58.1% 58.1% -0.1%
========================================
Files 136 136
Lines 9780 9861 +81
========================================
+ Hits 5691 5736 +45
- Misses 4089 4125 +36
Continue to review full report at Codecov.
|
bffca38 to
e2bba6d
Compare
|
I'll happily add tests if someone knows of a good way of testing the port bindings |
We already have some tests for port forwarding in |
Adds a context manager function that will forward connections to a port on the local host to a port on the target, and target ports to a port on the local host Signed-off-by: Joshua Watt <Joshua.Watt@garmin.com>
e2bba6d to
884545f
Compare
Adds a subcommand to forward ports between localhost and the target Signed-off-by: Joshua Watt <Joshua.Watt@garmin.com>
884545f to
51f3fe5
Compare
jluebbe
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good now, thanks for the test cases!
Description
Adds a context manager function that will forward a port on the local
host to a port on the target
Checklist