Using Visual Studio Code with Remote SSH on Openlab


Visual Studio Code is a good option for students who need to work on large projects on openlab, or are more productive in an IDE. It is available on Windows, Mac, and Linux systems. VSCode Remote gives you the ability to edit projects on openlab as if you were working locally, with all the benefits that an IDE brings, such as syntax highlighting, code completion, and a visual file browser.

VSCode on openlab can also be used in a browser through Jupyterhub@ICS.


This tutorial will require you to be connected to the UCI Campus VPN.

  1. Download and install VSCode for your system here. Windows users will also need to install an ssh client. list of supported clients
  2. In the left side activity pane, select the extensions tab. Search for and install the extension 'Remote - SSH', which is published by Microsoft.
  3. When the extension is finished installing, there will be a new 'Open a Remote Window' button in the lower leftmost corner.
  4. Select 'Remote-SSH: Connect to Host' from the pane that appears at the top of the window.
  5. Enter '', for example
  6. Press enter, VSCode will ask for the password, which is your ICS account password. Once connected, you should see in the lower lefthand corner, indicating you are successfully connected and can open and edit files. File→Open will allow you to select a directory or file to open and edit.

Detailed instructions with screenshots for using VSCode remote are also available from the VScode website. Recommended further steps are to set up ssh keys to enable key-based authentication.

Set Up SSH Keys Instructions

accounts/using_vscode_with_openlab.txt · Last modified: 2020/10/16 11:08 by kbhagatw
CC Attribution-Noncommercial-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0