Secure remote connectivity with VS Code for the Web

Tunnel Tech

Clean Up VS Code Server

The tunnel provides command-line capabilities to uninstall and delete VS Code Server. From the command line, uninstall the service and remove the server-side bits:

code tunnel service uninstall
code tunnel unregister
code tunnel prune

The last two commands unregister the machine and environment (note that this requires a connection to the network and Internet) and remove the (local) VS Code Server instances. The hidden subdirectory will remain. Deleting the vscode-related hidden directories will purge the last remaining bits:

sudo rm -fr .vscode/
sudo rm -fr .vscode-server/

VS Code Server and its remote extensions provide significant advantages for remote development, but as the saying goes, with greater power comes greater responsibility. Integration with external vscode.dev cloud services are particularly beneficial for isolated, transient cloud server environments, making it ideal for individual developers or small teams in fast-paced development or testing settings. Such scenarios might be its most suitable application, keeping it distant from the critical systems of enterprise IT.

Infos

  1. VS Code Marketplace: Remote – Tunnels: https://marketplace.visualstudio.com/items?itemName=ms-vscode.remote-server
  2. Developing with Remote Tunnels: https://code.visualstudio.com/docs/remote/tunnels
  3. GitHub device login page: https://github.com/login/device

The Author

Kevin Wittmer, a chief IT specialist at Bosch Group, has a strong affinity for all aspects of Visual Studio Code.

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

  • Secure and seamless server access
    The powerful Cloudflare Tunnel provides secure and seamless access to servers and applications, making it a convenient alternative to VPN for any modern IT infrastructure.
  • Remote maintenance and automation with RPort
    Firewalls and network address translation often stand in the way of access to remote systems, but the free RPort software works around these obstacles and supports remote maintenance through a tunnel locally, in the cloud, and from your home office.
  • Secure your data channel with stunnel
    Stunnel provides a TLS wrapper with extensive configuration options to secure your data over insecure wireless networks.
  • Self-hosted remote support
    RustDesk supports self-hosted cross-platform remote support and maintenance. The client and optional basic server are open source and available free of charge.
  • SSH on Windows

    For Linux admins, SSH is one the most important tools of remote administration. SSH also works in Windows, with tools such as PuTTY or WinSSH, MobaXterm, WinSCP, or Swish.

comments powered by Disqus