Connect VS Code in Remote SSH File System

ssh


  1. CTRL + Shift + P to navigate to Create SSH FS Configuration

ssh_config


  1. Fill in name and location fields in the Create New Configuration page then click save.

  2. Go to SSH File systems and right clicked on the connection name and select Connect as Workspace folder.

Note: To check if it is connected if you see the green check indicator.


ssh_filesystems

  1. Go to Workspace and locate the SSH FS - Connection Name.

  2. Expand the directory and edit the files you need to update.