... | ... | @@ -57,4 +57,23 @@ Edit settings.json file in order to tell vscode which operating system the host |
|
|
|
|
|
This is how my settings.json file look like. Note that remote.SSH.remotePlatforms is a dictionary of keys (hostname) and values (the hosts OS).
|
|
|
|
|
|
![image](uploads/e8b68b97f266baaf23c0103968cc95d5/image.png) |
|
|
\ No newline at end of file |
|
|
![image](uploads/8c72c4cc3ee6776c1791ee088b2f07ed/image.png)
|
|
|
|
|
|
## Connecting to fetdatorn via vscode on computers in the lab
|
|
|
|
|
|
1. See section above "NOTE: For improved security" and make sure that the tickbox is checked.
|
|
|
2. Update ssh.config to:
|
|
|
|
|
|
```
|
|
|
Host jump-host
|
|
|
HostName axelwickman.com
|
|
|
Port 723
|
|
|
User **{{Ask Simon for username}}**
|
|
|
|
|
|
Host fetdatorn
|
|
|
HostName 127.0.0.1
|
|
|
Port 5512
|
|
|
User **{{Ask Simon for username}}**
|
|
|
ProxyCommand ssh jump-host -W %h:%p
|
|
|
```
|
|
|
3. NOTE: When connecting to fetdatorn, you may be prompted to enter password twice. |
|
|
\ No newline at end of file |