Remote IDE (VS Code)
VS Code lets you edit files and run terminals on Oscar directly from your local machine using the Remote SSH extension.
VS Code one-time setup
To use VS Code you will need to be connected to the VPN. Please install the Brown VPN client before proceeding.
Step 1: Install VSCode Extension
Install the Remote Development extension pack for VS Code:
Step 2: Setup Passwordless SSH
Make sure you have set up passwordless SSH authentication to Oscar. If you haven't, please refer to this documentation page.
Step 3: Edit the SSH config file
Add the following to your SSH config file. Replace <username> with your Oscar username.
The config file is located at:
~/.ssh/config
The config file is located at:
Step 4: Connect to Oscar
Open the Command Palette in VS Code (Cmd+Shift+P on Mac, Ctrl+Shift+P on Windows/Linux)
Select Remote-SSH: Connect to Host…
Choose ccv-vscode-node from the list


Step 5: Initial Setup
Install and set up of VS Code
After a moment, VS Code will connect to the SSH server and set itself up.
After a moment, VS Code will connect to the SSH server and set itself up. You might see the Firewall prompt, please click allow.
Step 6: Apply Recommended Settings
Do this once after your first connection. Without it, VS Code will try to index all files you have access to on Oscar, including large datasets which wastes resources on the shared node and slows things down for everyone.
Open a terminal in VS Code and run:
or manually create /users/$USER/.vscode-server/data/Machine/settings.json file with following contents
Then reconnect to VS Code for the settings to take effect:
Click the green
><icon in the bottom-left corner of VS CodeSelect
Connect to Host

Choose
ccv-vscode-node

Important: What is VSCode Node For
The VSCode node is a shared resource with over 300 users active at any given time. It is intended for:
Editing files
Light terminal use
Browsing code
Do not run computationally intensive work (R, Python scripts, model training, etc.) directly on the VSCode node. These should be submitted as jobs to the cluster. Your processes will be automatically throttled if they exceed the per-user resource limits.
To run an interactive job on a compute node: interact -n 4 -m 16g -t 01:00:00
Use interact -h for list of options.
Note that when you launch an interactive job, your terminal processes go to the compute node but VSCode processes/extensions itself stays on the VSCode node.
Last updated
Was this helpful?