institute_lorentz:institutelorentz_remoteaccess
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision |
institute_lorentz:institutelorentz_remoteaccess [2018/01/08 15:29] – [VNC: Windows Users] lenocil | institute_lorentz:institutelorentz_remoteaccess [2018/08/30 14:40] – [Example 1] lenocil |
---|
| |
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 | 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 |
<code> | <code bash> |
ssh -f <your_username>@ssh.lorentz.leidenuniv.nl -L 2222:<your_workstation>.lorentz.leidenuniv.nl:22 -N | ssh -f <your_username>@ssh.lorentz.leidenuniv.nl -L 2222:<your_workstation>.lorentz.leidenuniv.nl:22 -N |
</code> | </code> |
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 <code> | 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 |
| <code bash> |
ps aux | grep ss[h] | 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 | 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 |
institute_lorentz/institutelorentz_remoteaccess.txt · Last modified: 2022/11/29 12:27 by lenocil