The following steps use the ssh-keygen command to create a public/private key pair to generate a Foglight credential.
ssh-keygen -t rsa -m PEM
or
ssh-keygen -t dsa -m PEM
Follow the command tips to create your key pair.
~/.ssh/authorized_keys file for the account.
Command:
cat id_rsa.pub >> ~/.ssh/authorized_keys
Note: The permissions on the .ssh directory should be 700, and the permissions on the authorized_keys file (~/.ssh/authorized_keys) should be 600.
From the Credentials dashboard:
From the Hosts dashboard:
Refer to the following KB Articles related to RSA credentials: