Using the SSH Extension in VS Code to Work on a Remote Machine
By Łukasz Kallas

- Published on

Sharing
Working on remote machines directly from your local development environment can streamline your workflow and enhance productivity. Visual Studio Code (VS Code) offers an excellent extension, Remote - SSH, which allows you to connect to remote servers and work as if you were on your local machine. Here's how to set it up and use it.
- Install the Remote - SSH Extension
- Open the Command Palette (Ctrl+Shift+P or Cmd+Shift+P).
- Type Remote-SSH: Add New SSH host and select it.
- Type
ssh user@hostname
VS Code will now connect to the remote machine, and you'll be able to open folders and files as if they were local.
- Open a Remote Folder