Skip to content

What do you think about Visual Studio Marketplace? We are looking for feedback from developers like you! Take the survey

| Marketplace
Sign in
Visual Studio Code>Other>Remote - TunnelsNew to Visual Studio Code? Get it now.

Remote - Tunnels

Microsoft

|
59,986 installs
| (1) | Free
Connect to a remote machine through a VS Code Tunnel
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Visual Studio Code Remote - Tunnels

The 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 VS Code Server on your remote machine.
    • 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).

Connection to the VS Code Server in vscode.dev

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?

  • See the VS Code Server documentation and FAQ.
  • Up-vote a feature or request a new one, search existing issues, or report a problem.
  • Contribute to our documentation.

Or connect with the community...

Twitter Stack Overflow VS Code Dev Community Slack VS CodeGitter

  • Contact us
  • Jobs
  • Privacy
  • Terms of use
  • Trademarks
© 2023 Microsoft