Lead Image © fckncg, 123RF.com

Lead Image © fckncg, 123RF.com

Secure remote connectivity with VS Code for the Web

Tunnel Tech

Article from ADMIN 78/2023
By
Connect to remote machines with Visual Studio Code for the Web through secure tunnels – no SSH needed.

The Visual Studio Code ecosystem continues to thrive and expand. With thousands of extensions available for download from the marketplace, developers have a bewildering selection to enrich their daily coding experience. The Remote-Tunnels extension [1] [2] is an example of powerfully expanding a developer's remote capabilities. This extension integrates with vscode.dev hosting Visual Studio online services, allowing GitHub users to access a lightweight Visual Studio (VS) Code experience directly through a web browser. Pairing the remote tunneling capabilities of VS Code Server with GitHub integrated cloud services powers this secure remoting capability. As a result, developers can establish remote connectivity to Linux servers hosted in private networks, further expanding the possibilities of their development workflows. In this article, I unpack the details.

Remote SSH Connectivity Revisited

Before diving into the developer experience of a web-based VS Code environment, I'll briefly revisit the established Remote-SSH VS Code extension that provides SSH connectivity capabilities to virtual machines (VMs) or containers and seamlessly integrates with the standard functionalities of a local SSH client.

If you don't already have the Remote-SSH extension installed, use the --install-extension argument on the command-line interface (CLI):

code --install-extension ms-vscode-remote.remote-ssh

Of course, you can also access the Extensions view in the VS Code user interface (UI) to search and install.

This command-line action will result in the installation of three extensions. To verify that these extensions were installed successfully, enter:

code --list-extensions

The output dumped to the console will be all the

...
Use Express-Checkout link below to read the full article (PDF).

Buy this article as PDF

Express-Checkout as PDF
Price $2.95
(incl. VAT)

Buy ADMIN Magazine

SINGLE ISSUES
 
SUBSCRIPTIONS
 
TABLET & SMARTPHONE APPS
Get it on Google Play

US / Canada

Get it on Google Play

UK / Australia

Related content

comments powered by Disqus