This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| generic:rdp_mac [2023/09/08 12:42] – venemans | generic:rdp_mac [2025/10/07 12:33] (current) – jansen | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Microsoft Remote Desktop on macOS ====== | + | ====== Microsoft Remote Desktop on MacOS ====== |
| This page describes how to connect to a Windows system at the institute, from your own Mac, either on the laptop or wireless network, or from outside the institute. | This page describes how to connect to a Windows system at the institute, from your own Mac, either on the laptop or wireless network, or from outside the institute. | ||
| - | ===== Tunnel (from commandline) ===== | + | Alternatively, |
| - | First, a secure tunnel has to be set up using ssh. The tunnel connects a local '' | + | |
| - | ssh -L 3389: | + | ===== VPN ===== |
| - | If you want to connect to a LION desktop, for example '' | + | 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. |
| - | ssh -L 3389:QO52:3389 username@ssh3.physics.leidenuniv.nl | + | |
| + | ===== Tunnel (commandline) ===== | ||
| + | Otherwise, a secure tunnel has to be set up using ssh. The tunnel connects a local '' | ||
| + | |||
| + | 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 | ||
| 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: | ||
| * [[https:// | * [[https:// | ||
| * [[https:// | * [[https:// | ||
| - | ===== Microsoft Remote Desktop client ===== | + | ===== Microsoft Windows app (previously known as Microsoft Remote Desktop client) |
| - | Microsoft has a rdp client for Mac, available for free through the [[https:// | + | Microsoft has a rdp client for Mac, available for free through the [[https:// |
| {{ : | {{ : | ||
| 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). | ||