This article describes how to generate an SSH key on your own machine that can then be used to authenticate your connection to a target machine like the SCIAMA login nodes.
If you are using a Windows desktop, you can use tools like
puttygen, which is part of the PuTTY software package:
Make sure that when you save the public key, that it is a text file which contains exactly what is shown in the window above (i.e. remove any prefixes/suffixes like ‘
---- BEGIN SSH2 PUBLIC KEY ---- Comment:‘ or ‘
---- END SSH2 PUBLIC KEY ----‘.
Linux / macOSTo top
If you are using a Linux or macOS desktop then use the command
Try not to use less than 4096 bits to ensure that your key is strong enough.
When prompted make sure you use a secure pass phrase. You should see output similar to:-
Enter file in which to save the key ($HOME/.ssh/id_rsa):
Created directory ‘$HOME/.ssh’.
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in $HOME/.ssh/id_rsa.
Your public key has been saved in $HOME/.ssh/id_rsa.pub.
The key fingerprint is:
The key’s randomart image is:
| . ++BO+|
| o o*oB=|
| . = ..o*=o|
| + S o .=oo|
| . . . .E+|
| .. |
| .. |
You can find the private/public key pair at the location you defined at its creation. You can identify the public key by its suffix ‘.pub’.