User Tools

Site Tools


generic:rdp_mac

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
generic:rdp_mac [2023/09/08 12:42] venemansgeneric:rdp_mac [2023/09/08 12:45] (current) venemans
Line 3: Line 3:
  
 ===== Tunnel (from commandline) ===== ===== Tunnel (from commandline) =====
-First, a secure tunnel has to be set up using ssh. The tunnel connects a local ''port'' to a remote port on a specific machine. The port we want here is 3389, which is the port of the remote desktop protocol. This example logs in to ''ssh.strw.leidenuniv.nl'' and sets up the tunnel to host ''remote'' (the terminal server of the Sterrewacht). Instead of ''remote'' you can fill the name of your windows desktop computer:+First, a secure tunnel has to be set up using ssh. The tunnel connects a local ''port'' to a remote port on a specific machine. The port we want here is 3389, which is the port of the remote desktop protocol.  
 + 
 +==== Sterrewacht example ==== 
 +This example logs in to ''ssh.strw.leidenuniv.nl'' and sets up the tunnel to host ''remote'' (the terminal server of the Sterrewacht). Instead of ''remote'' you can fill the name of your windows desktop computer:
   ssh -L 3389:remote:3389 username@ssh.strw.leidenuniv.nl   ssh -L 3389:remote:3389 username@ssh.strw.leidenuniv.nl
 +
 +==== LION example ====
 If you want to connect to a LION desktop, for example ''QO52'', you have to connect to the LION SSH server ''ssh3.physics.leidenuniv.nl'': If you want to connect to a LION desktop, for example ''QO52'', you have to connect to the LION SSH server ''ssh3.physics.leidenuniv.nl'':
   ssh -L 3389:QO52:3389 username@ssh3.physics.leidenuniv.nl   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 ''.profile'' (which contains the settings that are executed every time you open a new shell in a terminal): 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 ''.profile'' (which contains the settings that are executed every time you open a new shell in a terminal):
   alias remote='ssh -L 3389:remote:3389 username@ssh.strw.leidenuniv.nl'   alias remote='ssh -L 3389:remote:3389 username@ssh.strw.leidenuniv.nl'
generic/rdp_mac.txt · Last modified: 2023/09/08 12:45 by venemans