Commit fe75b577 authored by Chris Hines's avatar Chris Hines
Browse files

Update vscode.md

parent d959ef51
Pipeline #18065 canceled with stage
......@@ -13,39 +13,34 @@ By default, if you follow those instructions, you will end up running the VS Cod
1. Setup VS Code (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
1. Setup ssh-agent and keys (optional HIGHLY recommended)
1. Generate a key
If you are still using passwords, you should definitly switch to keys open a terminal (mac and linux) or a powershell (windows) and run the command
```
ssh-keygen -t ed25519
```
you will be asked to enter a passphrase. This is used to encrypt the output file on your computer.
If you are still using passwords, you should definitly switch to keys open a terminal (mac and linux) or a powershell (windows) and run the command
```
ssh-keygen -t ed25519
```
you will be asked to enter a passphrase. This is used to encrypt the output file on your computer.
Next enter
Next enter
```
cat ~/.ssh/id_ed25519.pub
```
```
cat ~/.ssh/id_ed25519.pub
```
copy the line of text printed out. Using Strudel2 (beta.cloud.cvl.org.au), select Terminal -> Run on Login node
when the new window opens type
copy the line of text printed out. Using Strudel2 (beta.cloud.cvl.org.au), select Terminal -> Run on Login node when the new window opens type
```
echo <paste the line you just copied> >> .ssh/authorized_keys
```
```
echo <paste the line you just copied> >> .ssh/authorized_keys
```
1. Setup the agent
Windows only (the agent is already running on linux and mac)
Windows only (the agent is already running on linux and mac)
### ALERT ALERT THIS DOCUMENTATION IS INCOMPLETE!!!!!
### ALERT ALERT THIS DOCUMENTATION IS INCOMPLETE!!!!!
I *think* you may have to install openssh on windows, but it may be pre-installed.
I *think* you may have to install openssh on windows, but it may be pre-installed.
```
To install the OpenSSH components:
......
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