This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| generic:rdp_mac [2025/09/26 12:25] – jansen | generic:rdp_mac [2025/10/07 12:33] (current) – jansen | ||
|---|---|---|---|
| Line 5: | Line 5: | ||
| ===== VPN ===== | ===== VPN ===== | ||
| - | If you are connected through our institute VPN, you should be able to connect directly (so you can skip the tunnel setup). | + | If you are connected through our institute VPN, you should be able to connect directly (so you can skip the tunnel setup). The same is true for our wired (not wireless!) laptop net. |
| - | ===== Tunnel (from commandline) ===== | + | ===== Tunnel (commandline) ===== |
| - | another way to connect, is through | + | Otherwise, a secure tunnel |
| - | ==== Sterrewacht example ==== | + | The port we want here is 3389, which is the port of the remote desktop protocol. |
| - | This example logs in to '' | + | ssh -L 3389:SERVER:3389 username@ssh3.physics.leidenuniv.nl |
| - | ssh -L 3389: | + | |
| - | + | ||
| - | ==== LION example ==== | + | |
| - | If you want to connect to a LION desktop, for example '' | + | |
| - | ssh -L 3389:QO52:3389 username@ssh3.physics.leidenuniv.nl | + | |
| - | + | ||
| - | ==== Notes ==== | + | |
| Now, you probably don't want to remember this and type it all the time, so an easy solution is to add an alias in your '' | Now, you probably don't want to remember this and type it all the time, so an easy solution is to add an alias in your '' | ||
| - | alias remote='ssh -L 3389:remote:3389 username@ssh.strw.leidenuniv.nl' | + | alias SERVER='ssh -L 3389:SERVER:3389 username@ssh3.physics.leidenuniv.nl' |
| Some additional notes: | Some additional notes: | ||
| - | * Users should use the appropriate ssh server for their own institute | + | * Users should use the appropriate ssh server for their own institute |
| - | * The Windows | + | * LION: ssh3.physics.leidenuniv.nl |
| - | * The '' | + | * STRW: ssh.strw.leidenuniv.nl |
| - | * To avoid typing your password each time you set up an ssh tunnel, you could create an [[: | + | * Lorentz: ssh.lorentz.leidenuniv.nl |
| + | * The machine to log in to | ||
| + | * The '' | ||
| + | * The '' | ||
| ===== Tunnel (GUI) ===== | ===== Tunnel (GUI) ===== | ||
| Another way to ease the setup of the ssh tunnel, is to use an additional application that manages these tunnels. Some choices are: | Another way to ease the setup of the ssh tunnel, is to use an additional application that manages these tunnels. Some choices are: | ||
| Line 37: | Line 32: | ||
| After you clicked the " | After you clicked the " | ||
| {{ : | {{ : | ||
| - | Give the connection a name that makes sense to you to remember. As pc name, fill in '' | + | Give the connection a name that makes sense to you to remember. |
| + | |||
| + | As pc name, fill in '' | ||
| You can also fill in the username if you want (or do that on the login screen). Make sure however, to add the domain, so in this case: '' | You can also fill in the username if you want (or do that on the login screen). Make sure however, to add the domain, so in this case: '' | ||
| Close this window when done (use the Add button). | Close this window when done (use the Add button). | ||