-
Notifications
You must be signed in to change notification settings - Fork 37.4k
Description
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?