Create an SSH Key on Your Computer
On Windows, Mac and Linux systems you can generate an SSH key pair using the ssh-keygen
command.
The instructions below will generate a key without a password
and will store it in the default file locations.
Information about providing/using a key password, selecting a different file location, and other options
is available online.
Jetstream2 requires that your SSH key be generated using the RSA algorithm,
so you must specify the -t rsa
option when running ssh-keygen
Enter
to select the default location .pub
.
When the command asks for a passphrase, you can press Enter
twice to skip that option.
train01> ssh-keygen -t rsa
Generating public/private rsa key pair.
Enter file in which to save the key (/train01/.ssh/id_rsa):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /train01/.ssh/id_rsa.
Your public key has been saved in /train01/.ssh/id_rsa.pub.
The key fingerprint is:
SHA256:rtNRck20z2YSYBWG41LvcXzWeFYTXwK3ekXft1pgYzE train01@computer
The key's randomart image is:
+---[RSA 2048]----+
| o+*Eo.+|
| .+o.oo=*|
| o =o*..X|
| o + *=*.O|
| S= .oo*B |
| .. .=o |
| ... . |
| ... |
| .. |
+----[SHA256]-----+