question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support reverse tunnel

See original GitHub issue

context

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:open
  • Created 3 years ago
  • Reactions:112
  • Comments:7

github_iconTop GitHub Comments

6reactions
vscode-triage-botcommented, Jun 25, 2020

🙂 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!

3reactions
0Gritcommented, Oct 14, 2021

Hoping this can solve my problem of connecting GDB client in the remote workspace to GDB server running on my local machine.

Read more comments on GitHub >

github_iconTop Results From Across the Web

SSH Tunneling Explained - Teleport
Also often called SSH reverse tunneling, remote port forwarding redirects the remote server's port to the localhost's port. When remote port ...
Read more >
Reverse SSH Tunneling - Howtoforge
Reverse SSH Tunneling. Have you ever wanted to ssh to your Linux box that sits behind NAT? You can to that by using...
Read more >
How to Reverse SSH Tunnel - YouTube
Learn how to setup a reverse SSH tunnel by way of an easy to understand example that allows a local service to be...
Read more >
Creating an SSH Reverse Tunnel - n software
SSH Reverse Tunnels provide a way to establish connections to network resources that would not typically be available. For example, a server behind...
Read more >
The Easiest Guide to Creating a Reverse SSH Tunnel
Thankfully, there is such a service- remot3.it (formerly known as weaved). remote.it maintains the mothership and by installing a simple utility ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found