Visual Studio Code¶
Note: For remote GUI applications, we currently recommend using x2go.
You are welcome to use Visual Studio Code (VS Code or VSC) along with the Remote Development Extension Pack to SSH to Rogues Gallery resources. This allows you to navigate folders and edit code with the power and convenience of VS Code and its many excellent extensions.
Recommended Extensions Include:
- Remote Development - Includes the Remote SSH, Remote Container, and Remote WSL extensions
- Remote SSH - required to interact with remote SSH sessions on RG
- Jupyter - can be used to interact with and execute Jupyter notebooks from VSC.
Optional Extensions May Include:
- C/C++ - C syntax highlighting
- Python - Python highlighting
VSC and SSH Config Files¶
If you use VS Code, it is recommended to set up an SSH configuration file for easy access to RG nodes. In this way, you don’t have to remember hostnames or worry about whether you are on the campus VPN or not.
- After installing the Remote Development Extension Pack, click the green button on the bottom left corner of the screen.
- A dialog will open at the top, select
Connect to Hostthen select
Configure SSH Hosts....
- You should have at least one
configfile listed here, if there are multiple then just select the one associated with your current user.
- This will open the
configfile in the VS code editor, from here follow this format to add a host to your file:
Host rg-Login HostName rg-login.crnch.gatech.edu User gburdell
Host rg-Neuro-Dev HostName rg-neuro-dev.crnch.gatech.edu User gburdell ProxyJump rg-Login
This has added
rg-login, and below that
rg-neuro-dev. Pay special notice to the
option which will route your connection to
Now, if you select that green button again, then
Connect to Host, you can pick either
rg-neuro-dev as options.
VSC with Jupyter Notebooks¶
Special Thanks to our Contributing Authors for this Page: James Wood