The following instructions take you through setting up a SSH Key on O2. (Official instructions for generating SSH key)
The senario behind this is that in CyCIF pipeline, it is designed to first submit a job to transfer files from /n/files, get the job ID, and the following steps in the pipeline are dependent on the transfer job.
And the SSH Key allows you to transfer files from /n/files using the transfer server with ssh rsync
, without being prompted for password. So that you can put ssh rsync
from n/files to /n/scratch2 into an sbatch script. And the job could hang until the transfer is complete, then it will run the rest of the script.