liveBook · Manning

Remote-SSH

As explained in LLMs in Production

Remote-SSH is a VS Code extension that provides an editor interface for working with files and processes on SSH-accessible remote hosts.

Remote-SSH turns an SSH-accessible virtual machine into a practical VS Code workspace, avoiding the limitations of working exclusively in a terminal. section 5.1.1

A typical setup is:

  • Install the Microsoft Remote-SSH extension. section 5.1.1
  • Run the SSH configuration command, then open VS Code’s command palette. section 5.1.1
  • Choose Remote-SSH: Open SSH Host… and select the VM’s SSH address. section 5.1.1
  • Use the new VS Code window as if working locally. section 5.1.1
$ gcloud compute config-ssh

Use the SSH configuration command before selecting the remote host in VS Code. section 5.1.1

How LLMs in Production covers it

How deep it goes
Demonstrates installation, SSH configuration, host selection, and connection, but does not detail extension internals.
Examples
Uses a Google Cloud VM, its SSH address, the Remote-SSH command palette action, and a resulting remote VS Code window.
What it assumes
Assumes an SSH-accessible VM and a working SSH configuration, while introducing the VS Code connection workflow.
What you can do after
Operate/configure a VS Code workspace connected to a remote VM through SSH.
How it connects
Connects VS Code with SSH, virtual machines, terminal workflows, and Google Cloud command-line configuration.

Related concepts

This explainer was generated by Manning's knowledge graph from the text of LLMs in Production. The section links point to the parts of the book it draws on.