Connecting via Visual Studio Code
Setup VScode
- Download the Windows x64 .zip file from here.
- Unzip the download to a location of your preference
- Go inside the extracted download folder and create a folder named data
|- VSCode-win32-x64-1.84.2
| |- Code.exe (or code executable)
| |- data
| |- bin
| | |- code
| | |- ...
| |- ...
Tip
Go to your desktop, right click and create a new shortcut. Click on browse and navigate to the location of the vscode folder. Select the file named Code and click OK. Click twice on Next (Volgende). Now a shortcut to open VScode is created on your desktop.
Setup SSH
- Open VScode
- Open the extensions window and search for
ms-vscode-remote.remote-ssh
. Install the extension made by microsoft.com. - Now a new icon in VScode is visible (remote explorer), click on it.
- Select
Remotes (Tunnels/SSH)
- Hover over SSH and you will see a plus symbol, click on it
- Now type your ssh command, this can be
ssh <p-number>@helios.umcinfra.nl
orssh <p-number>@selene.umcinfra.nl
- Select the first config location. This will be something similar to
C:\User\P000000\.ssh\config
- Now the remote is added to VScode
- Refresh the extension by clicking on the refresh symbol next to
REMOTES (TUNNELS/SSH)
. Now you will see your new ssh remote
Connect to remote
- Hover over your username and click on the arrow. VScode will restart
- A pop up will show that asks for your password.
- VScode will make connection to Helios or Selene and will show all files in the Explorer page.
- If you also want terminal access click on Terminal and New terminal.