Differences

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

Link to this comparison view

Next revision
Previous revision
habrok:connecting_to_the_system:macos [2020/08/27 11:19] – external edit 127.0.0.1habrok:connecting_to_the_system:macos [2024/07/22 11:20] (current) admin
Line 5: Line 5:
  
 <code> <code>
-ssh -X username@peregrine.hpc.rug.nl+ssh username@login1.hb.hpc.rug.nl
 </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 “-X” 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/. 
  
-Another terminal app that you can use and which has more features than the default one, is iTerm2. You can download it for free at https://iterm2.com/.+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> 
 +ssh -Y username@login1.hb.hpc.rug.nl 
 +</code> 
 + 
 +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/.