Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • gateway computer flaci@cpu-li20-sp01, accessible from mcclogin, facet-srv*, or thinsrv01
  • digitizer computer luxelab@192.168.0.2 (in FKG20-24), accessible only from cpu-li20-sp01 (in FKG20-01)
    • ssh flaci@cpu-li-sp01
    • ssh luxelab@192.168.0.2

Setup the Tunnel between luxelab and facet-srv20

An example configuration file for the permanent tunnel is here: ssh-config-file

It also includes an example of a proxy jump. This can be applied the same way to go directly into facet-control.

Setup the Tunnel between luxelab and facet-srv20

  • set up the SSH tunnel between the luxelab computer and the facet-srv20 we use the following command:
    • [fphysics@facet-srv20 ~/ivoschul ]$ ssh -F .ssh/config -N -f luxelab
    • -F defines the config file which is not at the default location, it defines
      • the users, key-pair, IPs, and proxyjump
      • RemoteForward 62882 localhost:62882
      • RemoteForward 62883 localhost:62883
    • -N makes the session non-interactive
    • -f puts the session in the background
  • to kill the session we can use the following:
    • [fphysics@facet-srv20 ~/ivoschul ]$ ps aux | grep 'ssh -F .ssh/config'

    • this will output three processes, one is the grep command and two are the ssh connections to the gate and to the luxelab
    • get the process ID of the connection to the gate and kill it with [fphysics@facet-srv20 ~/ivoschul ]$ kill processID

...