Cloning |FOURC| on a cluster ------------------------------ In general there are several ways to get the |FOURC| source code to a cluster. In the following some possibilities are explained. **Note:** - Limitations due to firewall settings may emerge. - In case you want to commit changes in your repository on a cluster, remember to set up |FOURC| as described in the :ref:`Installation guide `. However, in general, it is recommended to develop code primarily on your workstation. Method 1: Clone |FOURC| repository from GitHub ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Clone the |FOURC| repository from GitHub to a cluster following the procedure as described in ``README.md``. **Note:** This requires that firewall settings allow access from the cluster to the GitHub repository. Method 2: Clone |FOURC| from local workstation ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Clone the |FOURC| repository from your workstation to a cluster using ssh:: ssh @ cd git clone ssh://@//4C 4C exit **Note:** This requires that firewall settings allow access from the cluster to your workstation. Method 3: Clone |FOURC| from local workstation via reverse ssh tunnel ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In the event that firewall settings forbid direct access from the cluster to your workstation, open a reverse ssh tunnel from your workstation to the cluster :: ssh -R ::22 @ where ```` is in the range from 1024 through 49151. > **Note:** Always close the ssh tunnel using the ``exit`` keyword afterwards! This opens a new shell on the cluster that allows access to your workstation via the ssh tunnel:: cd git clone ssh://@localhost://4C 4C exit The ssh tunnel access to the workstation is needed every time you want to update anything on the cluster, e.g., for executing ``git fetch``, ``git pull``, and even ``git push``.