blog
Lawrence Murray on 13 January 2023
Visual Studio Code can connect to a remote machine via SSH to provide an ergonomic development environment. The explorer allows browsing files remotely, and terminals allow running commands remotely. A particular convenience is that Code will automatically import credentials for you, to allow convenient interaction with e.g. GitHub repositories.
You will need to know the 👤user
and 🏠host
of the remote instance to which to connect. It will also need to be set up with a 🔑key
or ✳️password
that you can use to access it. If you are interested in developing on a GPU instance in particular, see the roundup of cloud service providers.
ssh
into the search box. Find Remote - SSH from Microsoft (likely the first) and click the Install button next to it.user
and 🏠host
into the textbox in the form user@host
and hit Enter. A new window will open for the remote connection. If this is the first login for the instance, you may be prompted with “Host has fingerprint… Are you sure you want to continue?”; this is normal, click Continue. If you are using a ✳️password
, you may be prompted to enter it.Ctrl + `
.The screen recording below demonstrates the steps. For more information see the Visual Studio Code documentation.
A how-to and round-up of cloud service providers.
Lawrence Murray
22 Nov 22
Step by step through the HTML, ImageMagick and Ruby. Works with Jekyll 4.
Lawrence Murray
30 Oct 22
How to profile CUDA code on cloud GPU instances using Nsight Systems.
Lawrence Murray
13 Jan 23