Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
habrok:connecting_to_the_system:macos [2023/03/20 11:47] adminhabrok:connecting_to_the_system:macos [2024/07/22 11:20] (current) admin
Line 3: Line 3:
  
 A connection to the cluster can be made from a terminal window using the Terminal app, which can be found in the Utilities folder of Applications. The command to log in is then: A connection to the cluster can be made from a terminal window using the Terminal app, which can be found in the Utilities folder of Applications. The command to log in is then:
 +
 +<code>
 +ssh username@login1.hb.hpc.rug.nl
 +</code>
 +
 +Here ''username'' should be replaced by your username, e.g. your p or s number (in lowercase). After that you should give your password, followed by the authenticator token obtained from e.g. Google Authenticator. 
 +
 +===== GUI desktop =====
 +
 +If you want to launch an application with a graphical user interface, you will have to add an additional ''-Y'' flag to the ''ssh'' command:
  
 <code> <code>
Line 8: Line 18:
 </code> </code>
  
-Here ''username'' should be replaced by your username, e.g. your p or s number (in lowercase). After that you should give your password. The ''-Y'' option will enable X11 Forwarding, which is necessary to be able to display graphical output from programs running on the cluster. Note that this option may be the default setting on your system. An X server should be running on your local desktop to allow graphical output. You can download an X server for OSX on the following website: http://xquartz.macosforge.org/.+The ''-Y'' option will enable X11 Forwarding, which is necessary to be able to display graphical output from programs running on the cluster. Note that this option may be the default setting on your system. An X server should be running on your local desktop to allow graphical output. You can download an X server for OSX on the following website: http://xquartz.macosforge.org/. 
 + 
 +===== Alternative terminal app =====
  
 Another terminal app that you can use and which has more features than the default one, is iTerm2, which you can download for free at https://iterm2.com/. Another terminal app that you can use and which has more features than the default one, is iTerm2, which you can download for free at https://iterm2.com/.