Visual Studio Code#

  1. Make sure Visual Studio Code Remote - SSH extension is installed. Windows users should run these steps in a Windows shell outside of WSL.

  2. Start a new shell and get its SSH command by running:

    det shell start --show-ssh-command
    

    You can also get the SSH command for an existing shell using:

    det shell show_ssh_command <SHELL UUID>
    
  3. Copy the SSH command, then select Remote-SSH: Add new SSH Host... from the Command Palette in VS Code, and paste the copied SSH command when prompted. Finally, you’ll be asked to pick a config file to use. The default option should work for most users.

  4. The remote host will now be available in the VS Code Remote Explorer. For further detail, please refer to the official documentation.