Run the ssh-keygen
command to generate a 2048-bit RSA key pairs. The ssh-keygen is part of the tools in OpenSSH suite which is
it on your local computer;
You are required to select a location for the keys. The keys are stored in the
~/.ssh
directory with the filenames id_rsa
for the private key and id_rsa.pub
for the public key by default. If you specify the default location, the SSH client will automatically look for your SSH keys during authenticating,
You can accept them by pressing ENTER
(Recommended).
If you have previously generated a key pair, you may be prompted thus:
If you choose to overwrite the key on disk, you will not be able to authenticate using the previous key anymore. Selecting yes is an irreversible destructive process.
Once you select a location for the key, you'll be prompted to enter an optional passphrase which encrypts the private key file on disk.
If you enter one, you will have to provide it every time you use this key (unless you are running SSH agent software that stores the decrypted key). We recommend using a passphrase, but you can press ENTER
to bypass this prompt.
This is the last step in the creation process. You now have a public and private key that you can use to authenticate.
From here, you can:
Add your public key to your Nobus account to be able to attach it in new FCS Instances on creation.
Add your public key to existing FCS Instances to use SSH key authentication to log in to them.