... | ... | @@ -4,4 +4,25 @@ The service runs |
|
|
`/usr/bin/ssh -vvv -XC -NT-R ${PORT_A}:localhost:${SSH_PORT} USERNAME@EXTERNALSERVER.COM -p ${PORT_B} -o ServerAliveInterval=20`
|
|
|
|
|
|
# Connect to Fetdatorn from your computer
|
|
|
`ssh -t $FIAUSER@axelwickman.com -p 723 -XC ssh $USER@localhost -p 5512 -XC` where you replace $USER with your username on fetdatorn and $FIAUSER with the remote user. Ask for passwords and usernames. |
|
|
\ No newline at end of file |
|
|
`ssh -t $FIAUSER@axelwickman.com -p 723 -XC ssh $USER@localhost -p 5512 -XC` where you replace $USER with your username on fetdatorn and $FIAUSER with the remote user. Ask for passwords and usernames.
|
|
|
|
|
|
## Using VS Code
|
|
|
Install the Remote SSH extension and go to Remote Targets (SSH) in the navigation menu to the left.
|
|
|
|
|
|
Then add this config:
|
|
|
```
|
|
|
Host jump-host
|
|
|
HostName axelwickman.com
|
|
|
Port 723
|
|
|
User **{{Ask Simon for username}}**
|
|
|
ForwardX11 true
|
|
|
Compression true
|
|
|
|
|
|
Host fetdatorn
|
|
|
HostName 127.0.0.1
|
|
|
Port 5512
|
|
|
User **{{Replace with your username}}**
|
|
|
Compression true
|
|
|
ForwardX11 true
|
|
|
ProxyJump jump-host
|
|
|
``` |
|
|
\ No newline at end of file |