Skip to content

Add remote port forwarding - #178

Open
superstar54 wants to merge 3 commits into
mainfrom
add-remote_port_forwarding
Open

Add remote port forwarding#178
superstar54 wants to merge 3 commits into
mainfrom
add-remote_port_forwarding

Conversation

@superstar54

Copy link
Copy Markdown
Member

Add a example command for remote port forwarding when user login in through a jump server.

@codecov

codecov Bot commented May 6, 2023

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 86.50%. Comparing base (d3c121f) to head (f9faa7c).
⚠️ Report is 29 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #178      +/-   ##
==========================================
- Coverage   86.54%   86.50%   -0.05%     
==========================================
  Files           9        9              
  Lines         907      904       -3     
==========================================
- Hits          785      782       -3     
  Misses        122      122              
Flag Coverage Δ
py-3.10 86.39% <100.00%> (-0.05%) ⬇️
py-3.11 86.39% <100.00%> (-0.05%) ⬇️
py-3.8 86.34% <100.00%> (-0.05%) ⬇️
py-3.9 86.45% <100.00%> (-0.05%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@unkcpz

unkcpz commented May 29, 2023

Copy link
Copy Markdown
Member

Hi @superstar54, if this is ready, you can request for review next time. can you see the button on the left?
image


If you visit the remote machine through a jump server, you run (replace the J_IP with the jump server IP):

ssh -J {user}@J_IP {user}@{hostname} -NfL {port}:localhost:{port}

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is that possible to get the J_IP if you are already ssh to the remote through SSH, this command is suppose to be copy-paste and run.



@click.group(context_settings={"help_option_names": ["-h", "--help"]})
@click.group()

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you rebase the branch? I guess you force push and override the new changes.

@unkcpz unkcpz left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@superstar54 thanks, just some minor request.

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.

2 participants