Before your first job
Before your first attempt to submit a job to PSMN’s clusters, you need to generate an internal SSH keys pair:
Generate internal PSMN SSH keys
Important
PSMN SSH keys
This step generates a SSH keys pair which is needed for your work on PSMN servers: for instance, job management, which are automated process on your behalf, needs an automated authentication.
These keys will be generated without passphrase, therefore they MUST NOT leave PSMN or be used for anything else: they basically provide no strong authentication.
So, the first time you connect by ssh to allo-psmn, follow these instructions:
ssh-keygen
To the question:
Generating public/private rsa key pair.
Enter file in which to save the key (/home/your_login/.ssh/id_rsa):
hit ENTER ⏎ (default answer).
Note
New default parameters of SSH may generate a ed25519 key type. Replace .rsa by .ed25519 in next parts of this documentation.
To the questions:
Enter passphrase (empty for no passphrase):
and
Enter same passphrase again:
hit ENTER ⏎ (default answer) again.
Then, create the file ~/.ssh/authorized_keys file by typing:
touch ~/.ssh/authorized_keys
and add (>>) your PSMN public SSH key (id_rsa.pub) to the ~/.ssh/authorized_keys file:
cat .ssh/id_rsa.pub >> ~/.ssh/authorized_keys