
OpenSSH supports using a configuration file to store all your different SSH connections. If you log in to multiple remote servers or local virtual machines on a regular basis, there's a better way to connect without having to remember all the usernames, addresses, and additional configuration options. In the earlier Remote SSH blog post, we only connected to a single machine and did so by entering the when prompted.

Click on the indicator to bring up a list of Remote extension commands. This indicator tells you in which context VS Code is running (local or remote). If you don't already have the extension installed, you can search for "remote ssh" in the Extensions view ( ⇧⌘X (Windows, Linux Ctrl+Shift+X)).Īfter you install the extension, you'll notice an indicator on the bottom-left corner of the Status bar. The Visual Studio Code Remote - SSH extension allows you to connect to a remote machine or VM using SSH, all from inside VS Code.

In this blog post, we'll go into some tips and tricks that you can use to get the most out of your remote setup. Octoby Sana Ajani, a previous Remote SSH blog post, we went over how to set up a Linux virtual machine and connect to the VM using the Remote - SSH extension in Visual Studio Code. Node.js Development with Visual Studio Code and Azure.Moving from Local to Remote Development.
