This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| generic:rdp_mac [2025/09/18 11:10] – jansen | generic:rdp_mac [2025/10/07 12:33] (current) – jansen | ||
|---|---|---|---|
| Line 3: | Line 3: | ||
| Alternatively, | Alternatively, | ||
| - | ===== Tunnel (from commandline) ===== | ||
| - | First, a secure tunnel has to be set up using ssh. The tunnel connects a local '' | ||
| - | ==== Sterrewacht example | + | ===== VPN ===== |
| - | This example logs in to '' | + | If you are connected through our institute VPN, you should be able to connect directly |
| - | ssh -L 3389: | + | |
| - | ==== LION example | + | ===== Tunnel (commandline) ===== |
| - | If you want to connect | + | Otherwise, a secure tunnel has to be set up using ssh. The tunnel connects |
| - | ssh -L 3389: | + | |
| - | ==== Notes ==== | + | The port we want here is 3389, which is the port of the remote desktop protocol. This example logs in to '' |
| + | ssh -L 3389: | ||
| 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 33: | 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). | ||