Skip to content

support reverse port forwarding with coder port-forward #6818

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

Closed
bpmct opened this issue Mar 27, 2023 · 2 comments
Closed

support reverse port forwarding with coder port-forward #6818

bpmct opened this issue Mar 27, 2023 · 2 comments
Assignees
Labels
cli Area: CLI

Comments

@bpmct
Copy link
Member

bpmct commented Mar 27, 2023

For use cases such as ADB forwarding for remote development, a user may wish to reverse-forward a port from their local machine to the workspace. SSH supports this with ssh -R. I couldn't find an option to do this with coder port-forward, as it complains a port is already running on my local machine.

As a workaround, folks can use ssh -R for reverse port-forwarding. To have Coder workspaces in your local SSH hosts, run coder config-ssh

@Emyrk Emyrk self-assigned this Mar 29, 2023
@Emyrk Emyrk removed their assignment May 5, 2023
@Emyrk
Copy link
Member

Emyrk commented May 5, 2023

Unassigning myself until I get more bandwidth

@bpmct bpmct added this to the ❓Sprint 2 milestone Jun 22, 2023
@ammario ammario removed this from the ❓Sprint 2 milestone Jun 29, 2023
@mtojek mtojek self-assigned this Jul 14, 2023
@mtojek
Copy link
Member

mtojek commented Jul 14, 2023

I'm going with this feature.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cli Area: CLI
Projects
None yet
Development

No branches or pull requests

5 participants