VS Code Remote SSH Setup

View as Markdown

Configure VS Code to develop directly on your GPU instance with full IDE features, including IntelliSense, debugging, and extensions.

Prerequisites

  • VS Code installed locally
  • Brev CLI installed and logged in
  • A running Brev instance

Quick Method: brev open

The fastest way to open VS Code on your instance:

$brev open my-instance

This command automatically installs the Remote SSH extension if needed and opens your instance in VS Code.

Manual Setup

1

Install Remote SSH Extension

Install the Remote - SSH extension from the VS Code marketplace.

2

Refresh SSH Config

Ensure your SSH config is up to date:

$brev refresh
3

Connect with Remote SSH

  1. Open VS Code Command Palette (Cmd+Shift+P / Ctrl+Shift+P)
  2. Type “Remote-SSH: Connect to Host”
  3. Select your instance name from the list
  4. Wait for VS Code to set up the remote connection

Install these extensions on your remote instance for the best experience:

  • Python - IntelliSense, linting, debugging
  • Jupyter - Run notebooks inside VS Code
  • GitLens - Enhanced Git integration

What’s Next