{{indexmenu_n>4}}
====== macOS ======
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:
ssh username@login1.hb.hpc.rug.nl
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:
ssh -Y username@login1.hb.hpc.rug.nl
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/.