Overview Version History Q & A Rating & Review
Visual Studio Code Remote - Tunnels
Remote - Tunnels extension lets you connect to a remote machine, like a desktop PC or virtual machine (VM), via a secure tunnel. You can then securely connect to that machine from anywhere, without the requirement of SSH. Getting started
Start by running the
on your remote machine.
VS Code Server
The CLI establishes a tunnel between a VS Code client and your remote machine. Tunneling, also known as port forwarding, securely transmits data from one network to another.
You'll be provided a device code and URL to authenticate your GitHub account into the secure tunneling service.
If this is your first time launching the VS Code Server on this remote machine, you'll be prompted to enter a machine name.
After authenticating and providing a machine name, you then have a couple options for connecting to your remote machine:
Select the vscode.dev link the CLI prints that's connected to your server instance.
Open vscode.dev or a desktop instance of VS Code directly, and run the command:
Remote - Tunnels: Connect to remote... (you may use
F1 to open the Command Palette to find this command).
You may review the
quick start in the VS Code Server documentation for more information. Release Notes
While an optional install, this extension releases with VS Code.
VS Code release notes include a summary of changes, with a link to detailed remote release notes. Questions, Feedback, Contributing
Have a question or feedback?
Or connect with the community...