This is an old revision of the document!
For security reasons, access to your Lorentz workstation is only possible within the Lorentz network.
Should you want to open an ssh session to your workstation and you are located outside the Lorentz network you can tunnel your request through ssh.lorentz.leidenuniv.nl
. For example
ssh -f <your_username>@ssh.lorentz.leidenuniv.nl -L 2222:<your_workstation>.lorentz.leidenuniv.nl:22 -N
instructs your machine to `tunnel' requests to local port 2222 through ssh.lorentz.leidenuniv.nl
to finally reach port 22 (sshd) on your workstation. Use ps
to see if the command above executed successfully
ps aux | grep ss[h] your_username 6217 0.0 0.0 89612 2948 ? Ss 13:19 0:00 ssh -f your_username@ssh.lorentz.leidenuniv.nl -L 2222:your_workstation.lorentz.leidenuniv.nl:22 -N
At this point you are ready to initiate an ssh session to your workstation
ssh -p 2222 localhost
NOTE: Should you want ssh to set the DISPLAY environment variable, you can use option -X
when you run ssh. You can invoke the ssh manual pages by typing man ssh
.
Note that the settings in the port forwarding panel. We use an arbitrary port (2222), but you can choose any numbers above 1024 provided they are not currently in use. By pushing open, a terminal will appear so that you can authenticate using your Lorentz institute credentials. Leave this terminal open and proceed with the creation of session `Tunnel_use'
Now push `Open' and a terminal will appear asking your authentications credentials on novamaris
. Any other putty connection top localhost:2222
will ssh directly to novamaris
.
For detailed instructions on how to set up a vnc session you are encouraged to follow these instructions.
Please read here.