How to connect to Linux Servers via Visual Studio Code (VS code)
Introduction
The Visual Studio Code Remote - SSH extension allows you to open a remote folder on any remote machine, virtual machine, or container with a running SSH server and take full advantage of VS Code's feature set. Once connected to a server, you can interact with files and folders anywhere on the remote filesystem.
1. Install an
OpenSSH client if one is not already present in the local Server.
- In Server Manager, on the navigation pane to the left, select Local Server.
- In the Properties window, locate Remote SSH Access.
- Select Disabled to enable the OpenSSH service.
3. Configuring and Connecting the server
- Select Remote-SSH: Connect to Host... from the Command Palette (F1, Ctrl+Shift+P)
- Choose Config File (local) to Save SSH Information
Note: Default Shortcut Command in VS Code
Article ID: 2455, Created: January 14 at 3:52 AM, Modified: January 20 at 6:45 PM