Commit 3c0cd2cf authored by Chris Hines's avatar Chris Hines
Browse files

Add new file

parent f9efe8de
Pipeline #17852 failed with stage
in 4 minutes and 15 seconds
Introduction
-------------
So you'd like to use VSCode, but your data is on M3. No problem. You want a VSCode remote server
The official VSCode documentation on this is here https://code.visualstudio.com/docs/remote/ssh
By default, if you follow those instructions, you will end up running the VS Code remote server on the login node. Please don't do this, the login nodes are a shared resources and we would rather allocate you a resource just for you.
Steps
------
1. Setup VSCode (install remote server extension)
Please follow the excelent instructions here https://code.visualstudio.com/docs/remote/ssh#_installation ... When you get to the section "Connect to a remote host" please come back here
2. Configure VSCode
Skip down to here https://code.visualstudio.com/docs/remote/ssh#_remember-hosts-and-advanced-settings
For your "SSH Connection Command" enter
```
ssh VSCode -o ProxyCommand="ssh <username>@m3.massive.org.au /usr/local/sv2/sshnc.sh"
```
The proxycommand allows us to connect, not to the login nodes but to a node allocated just to you. This is different than a regular VSCode setup because youre on an HPC cluster, not a regular server.
3. Start remote server.
Using strudel2 https://beta.cloud.cvl.org.au login to CVL and select the VSCode application on the left. Fill in how many CPUs which GPU and how much RAM you need for how long and click launch
4. Switching back to vscode, Remote-ssh: Connect to host and select the VSCode host
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment