Creating a Key Pair
This is an example of how to create an SSH key pair. The example assumes that the user account used for collection is named 'risc'.
To create a key pair:
1. | Log in to the account. |
su - risc
2. | Create a keypair. This example uses the default configuration. See the SSH-keygen manual for configuration options. |
ssh-keygen
3. | Add the public key to the list of keys, so you can sign in to the local system. |
cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys
4. | Ensure the file permissions on the authorized_keys file are correct. SSH is particular about file permissions, and will refuse to work if they are incorrect. |
chmod 600 ~/.ssh/authorized_keys
5. | Retrieve the contents of the private key. This can be copied into the RN150 appliance when creating an SSH credential entry. |
cat ~/.ssh/id_rsa