forked from linux/documentation
Update docs/user-guide/consoles.md
This commit is contained in:
1 parent
13ee8dd6f9
commit
26746f31c5
1 file changed
+12
-14
+12
-14
@@ -119,13 +119,12 @@ From outside PSI connections can be established in two ways, VPN or via SSH/hopx
|
||||
1. Establish a VPN connection via the PSI Cisco Anyconnect client
|
||||
2. Use the same command as connecting from the Office Network to establish a tunnel (replace `<your-console>` with the console you want to connect to and `your-ssh-gateway` with your ssh gateway)
|
||||
|
||||
```bash
|
||||
ssh -L 3389:<your-console>.psi.ch:3389 <your-ssh-gateway>
|
||||
|
||||
# replace <your-console> and <your-ssh-gateway> according to your beamline
|
||||
# example: ssh -L 3389:x00da-vcons-test-01:3389 x00da-gw
|
||||
```
|
||||
|
||||
```bash
|
||||
ssh -L 3389:<your-console>.psi.ch:3389 <your-ssh-gateway>
|
||||
|
||||
# replace <your-console> and <your-ssh-gateway> according to your beamline
|
||||
# example: ssh -L 3389:x00da-vcons-test-01:3389 x00da-gw
|
||||
```
|
||||
4. Open an RDP client and connect to `localhost`
|
||||
|
||||
#### SSH/hopx.psi.ch
|
||||
@@ -134,15 +133,14 @@ Connections via hopx.psi.ch can be establised as follows:
|
||||
|
||||
1. Open an interactive session to hopx.psi.ch and leave this session open!
|
||||
|
||||
```bash
|
||||
ssh hopx.psi.ch
|
||||
```
|
||||
```bash
|
||||
ssh hopx.psi.ch
|
||||
```
|
||||
3. Open an SSH Tunnel via hopx and your beamline SSH gateway (replace `<your-console>` with the console you want to connect to and `your-ssh-gateway` with your ssh gateway)
|
||||
|
||||
```bash
|
||||
ssh -J hopx.psi.ch -L 3389:<your-console>.psi.ch:3389 <your-ssh-gateway>
|
||||
```
|
||||
|
||||
```bash
|
||||
ssh -J hopx.psi.ch -L 3389:<your-console>.psi.ch:3389 <your-ssh-gateway>
|
||||
```
|
||||
2. Open an RDP client and connect to `localhost`
|
||||
|
||||
!!! note Windows
|
||||
|
||||
Reference in new issue
Block a user