Support reverse tunnel
See original GitHub issuecontext
I am trying to access adb in local machine from my remote server. To do that, I tried something like
ssh -R ${remote_port}:localhost:${local_port} remote_address
which opened a reverse port forwarding from my server and local machine so that I was able to access local attached devices in my remote server terminal.
However, rather than using remote ssh tunnel everytime, I want to automate everything in vscode extension
Problem
It looks reverse port is a known issue. Wondering when that will be resolved? (https://code.visualstudio.com/api/advanced-topics/remote-extensions#known-issues)
I tried to use vscode.workspace.openTunnel (https://raw.githubusercontent.com/microsoft/vscode/master/src/vs/vscode.proposed.d.ts) api but it only supports a forward tunnel. Can we support reverse tunnel in this api?
Issue Analytics
- State:
- Created 3 years ago
- Reactions:112
- Comments:7
Top GitHub Comments
🙂 This feature request received a sufficient number of community upvotes and we moved it to our backlog. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!
Hoping this can solve my problem of connecting GDB client in the remote workspace to GDB server running on my local machine.