macOS hosts need to have the operating system’s Remote Login feature enabled.īefore continuing, make sure you’ve copied your local SSH public key over to your server’s authorized_keys file. Windows servers are supported too, provided Microsoft’s official OpenSSH server is used. The extension works with hosts running Ubuntu, Debian, CentOS, RHEL, and Raspbian. Now you need to connect to your SSH server. It’s published and supported by Microsoft. Search for “remote – ssh” and install the matching extension. The extensions sidebar will appear on the left. Press Ctrl+Shift+P to open the command palette and type “install”. Getting Startedīegin by adding the Remote – SSH extension to your editor. Almost all Visual Studio Code features are available including IntelliSense code completion, built-in debugging, and third-party extensions.
The Remote – SSH extension can connect to network servers, list their directory structure, and open and edit files. Visual Studio Code is one of the most popular developer IDEs and an officially supported extension lets you add SSH connections to your workspace. Editing files stored on a remote server doesn’t need to be a clunky mess of shell commands and basic text editors.