Connecting to a system with Visual Studio Code
Visual studio Code has the ability to connect to our systems through ssh/sftp. This guide will show you how to do this.
What will this do for me?
Allowing VS code to connect to our systems allows you to edit and manage your files as if they were stored locally on your own device.
It also somewhat allows you to have a graphical interface to our systems, by showing you the files and their content, instead of having to view everything through a terminal
Install ssh plugin
Go to plugins
Search for “ssh”
Select the plugin called “Remote - SSH”
Click the green button with the connection symbol in the lower left-hand corner.
Select “Connect to Host…”
Connect to system
When prompted, type in your password. If you get a question about what system you are connecting to, select “Linux”
Select the folder you want to open.
For home folder, either select “~” or “/cluster/home/[username]/”
For project folder, select /cluster/projects/nnXXXXk/
You are now connected to a system and have access to everything you had access to from a terminal in the IDE.
You also have access to terminal through the built in terminal in VS code.