Files
gitea-pages/services-user-guide/ssh_gateways.md
2023-10-30 11:43:50 +01:00

27 lines
916 B
Markdown

# SSH Gateways
The purpose of the ssh gateways is to give temporary access to protected networks and resources. Users are only supposed to use __ssh__ to connect to and from the gateways.
The access to the gateway is controlled by special ActiveDirectory groups. The membership of the groups are managed by the responsible of the protected network the gateway gives access to. In case of a beamline this is the beamline scientist.
Connecting to a gateway:
```bash
ssh <gateway-name>-gw
```
To avoid having to type your password to connect to the gateway you can upload your ssh public key to it. This can be done by:
```bash
ssh-copy-id <gateway-name>-gw
```
Afterwards you should be able to login to the gateway without a password.
Establishing an SSH connection through the gateway to a machine inside the protected network:
```bash
ssh -J <gateway-name>-gw <name-of-the-machine-you-want-to-connect>
```