We are going to use Microsoft Visual Studio Code on our host system to edit our code and interact with our Ubuntu system via SSH. You can run Visual Studio Code on any OS flavor you want.

Install

Download Visual Studio Code - Mac, Linux, Windows

You can download the install from above but you may want to use a package manager. The following examples allow for single command installation.

MacOS

brew install visual-studio-code

Windows

choco install vscode

Start Power Shell and check if the OpenSSH client is installed by running the following command. OpenSSH Client should be install unless you have a older Windows version.

Get-WindowsCapability -Online | ? Name -like 'OpenSSH*'

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/3ad1e2ff-6690-46b1-8f0b-6e6056410efe/Untitled.png

If it is not installed run the following command in powershell to install it.

Add-WindowsCapability -Online -Name OpenSSH.Client~~~~0.0.1.0

Linux

sudo snap install --classic code

Setup (Local)

  1. Open up VS Code and in the top right click Open Folder.