Visual Studio Code
A widely available and versatile code editor that supports remote development via SSH.
Options#
There are two ways to use VS Code on the FSU HPC:
- Install and use VS Code in the RCC Desktop interactive app in our Open OnDemand portal.
- Run VS Code on your local workstation and connect to an HPC compute node through an SSH tunnel.
VS Code in Open OnDemand#
This method is the simpler of the two options for VS Code, but does require some initial setup.
- Follow the instructions for launching an interactive app in Open OnDemand.
- Select the RCC Desktop app.
- Important: Ensure that the Internet Access via Web Proxy checkbox is selected.
- Install VS Code (first time only)
- Open the web browser from the Applications menu or the quick access toolbar at the bottom of the screen (the globe icon)
- Go to https://code.visualstudio.com/Download and select the .tar.gz x64 option.

- Open the terminal app from the Applications menu or the quick-access toolbar at the bottom of the screen (the black icon)
- Run the following commands in the terminal:
- Launch VS Code
- From the Applications menu in the upper-left corner of the screen, select Run program...
- Enter
~/Downloads/VS Code-linux-x64/bin/codeand click "Launch".
Tip
You can move the VS Code installation anywhere in your home directory. Your environment and extensions are stored in the ~/.vscode folder, so the location of the runtime files does not matter
Remote connection from your workstation#
This is the more advanced of the two options for VS Code, and it requires additional configuration on your workstation. It provides direct access to a compute node from a VS Code session running on your computer.
Initial setup#
- Download and install VS Code from the Visual Studio Code website.
- Install the "Remote - SSH" extension in VS Code.
- Set up SSH keys following our SSH instructions.
- Configure tunneling in your SSH configuration file.
- Open the terminal app on Linux or macOS, or open PowerShell on Windows.
- Copy the following lines into the file, replacing
[YOUR_HPC_USERNAME]with your HPC username:
Each time you connect#
- Using your terminal app, log in to the HPC and allocate resources on a compute node for your VS Code session:
- Note the node name in the last line of the
sallocoutput:hpc-r29-1-4. - You can close the terminal app after the allocation starts; the VS Code connection will use the allocated compute node.
- Open VS Code on your workstation.
- In the lower-left corner of the window, click the
><icon to connect to a remote system:
- Select Connect to Host...:

- Type the hostname from the
sallocoutput in step 1:
- You may see the message similar to the
The authenticity of this host can't be established. Type "yes" in text input, and press Enter to continue:
- In the lower-right corner of the window, you will see a message while VS Code sets up the remote connection. This might take a few minutes:

- If everything worked, the indicator in the lower-left corner of the window will show the compute node you are connected to:

- If you need Internet access from the compute node, open a terminal window in VS Code by selecting Terminal → New Terminal or pressing Ctrl+Shift+`, then run: