Chapter 6
Security
RUGGEDCOM ROX II
CLI User Guide
176 Adding a Private Key
Section6.8.5.2
Adding a Private Key
To add an unsigned private key, do the following:
1. Make sure the CLI is in Configuration mode.
2. Add the private key by typing:
security crypto private-key name
Where:
• name is the name of the private key
3. Configure the following parameter(s) as required:
NOTE
Before inserting the contents of the key, enter multi-line mode by pressing Esc+m. Press Ctrl+d to
exit multi-line mode after the key has been added.
Parameter Description
algorithm { algorithm } Synopsis: { rsa, dsa, ssh-rsa }
The type of key.
This parameter is mandatory.
contents { contents } Synopsis: A string 1 to 8192 characters long
The contents of the unsigned private key.
This parameter is mandatory.
4. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section6.8.5.3
Deleting a Private Key
To delete an unsigned private key, do the following:
1. Make sure the CLI is in Configuration mode.
2. Delete the private key by typing:
no security crypto private-key name
Where name is the name of the private key
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section6.8.6
Managing Public Keys
This section describes how to manage public keys on the device.
CONTENTS
• Section6.8.6.1, “Viewing a List of Public Keys”