... | ... | @@ -3,7 +3,7 @@ In case it does not work, please reach out to me via Mattermost or document an i |
|
|
# TL;DR:
|
|
|
0. You need to have set up your SSH keys previously, added direct access to a specific login node, and established the connection at least once via the terminal, otherwise you will run into errors.
|
|
|
1. Install the "Remote - SSH" extension
|
|
|
2. *DO NOT CONNECT TO hpc.pik-potsdam.de!* Instead connect *directly* to one of the four login nodes (login01-24.pik-potsdam.de - login04-24.pik-potsdam.de)!
|
|
|
2. **DO NOT CONNECT TO hpc.pik-potsdam.de!** Instead connect *directly* to one of the four login nodes (login01-24.pik-potsdam.de - login04-24.pik-potsdam.de)!
|
|
|
3. After each session you need to “Kill VS Code Server on Host…” and select the same host.
|
|
|
( To do so, press COMMAND + SHIFT + P in VSCode on Mac and select “Kill VS Code Server on Host…” )
|
|
|
|
... | ... | @@ -17,6 +17,12 @@ Set up your ~/.ssh/config file for direct access to one of the four login nodes: |
|
|
|
|
|
(On your local machine, run `cd` and then open the file via `nano ~/.ssh/config`. Edit the changes, and exit via CTRL + C)
|
|
|
```
|
|
|
Host vpn
|
|
|
Hostname ts01.pik-potsdam.de
|
|
|
ForwardX11 yes
|
|
|
Compression yes
|
|
|
User davidgo
|
|
|
|
|
|
Host login01-24.pik-potsdam.de
|
|
|
Hostname login01-24.pik-potsdam.de
|
|
|
ForwardX11 yes
|
... | ... | |