VSCode is the editor most IT people already use. These extensions close the gap between a general-purpose editor and a proper sysadmin workstation.

Remote - SSH

Edit files directly on a remote server over SSH. No rsync, no SCP, no copying config files around. The remote file system appears in your Explorer pane like a local directory. Works with Proxmox VMs, cloud VMs, Raspberry Pis — anything with an SSH daemon.

Install: ms-vscode-remote.remote-ssh

Remote - Containers (Dev Containers)

Open a project inside a Docker container and develop in that environment. Useful for testing Ansible playbooks in an isolated environment or building scripts in a clean Python/Node container without polluting your local install.

Install: ms-vscode-remote.remote-containers

YAML (Red Hat)

Validates YAML files with schema support. If you write Ansible playbooks, Kubernetes manifests or Docker Compose files, this extension highlights schema violations before you run anything. Pair it with the Ansible extension for inline documentation.

Install: redhat.vscode-yaml

Docker Extension (Microsoft)

Browse containers, images, volumes and networks from the sidebar. Right-click a running container to attach a shell or view logs. Faster than typing docker ps and docker exec -it repeatedly.

Install: ms-azuretools.vscode-docker

Ansible Extension (Red Hat)

Syntax highlighting, auto-complete and inline docs for Ansible tasks. It knows the module parameters, so you get suggestions as you type ansible.builtin.copy or community.general.ufw.

Install: redhat.ansible

HashiCorp Terraform

Syntax highlighting and validation for .tf files. If you manage any cloud infrastructure with Terraform, this catches missing brackets and invalid resource arguments before terraform plan does.

Install: hashicorp.terraform

GitLens

Shows who changed each line, when and in which commit — inline, without running git blame manually. Useful when you're debugging a config that six people have touched over two years.

Install: eamodio.gitlens

REST Client

Send HTTP requests from a .http file inside VSCode without leaving the editor. Useful for testing API endpoints, webhook payloads or checking Prometheus metrics directly.

Install: humao.rest-client

The Setup

If you SSH into machines constantly, pair VSCode Remote-SSH with an SSH key stored on a YubiKey. One touch authentication, works with every remote connection.


As an Amazon Associate, IT Lad earns from qualifying purchases made through links on this page. Read the full affiliate disclosure.

Previous Post Next Post