my public-key add
Add an SSH public key for the currently logged in user.
NOTE The my public-key commands manage public keys for use by ssh sessions, but the commands to enable and disable their use on Luna Network HSM 7 are still sysconf ssh publickey enable and sysconf ssh publickey disable.
CAUTION! Always [re-]generate new/fresh public keys for your Luna Network HSM 7 HSM appliance SSH access, and trade with clients as appropriate, before you place the appliance in service or after any security incident that might compromise SSH access. Consider doing this whether you normally use public-key authentication or prefer password authentication - the point is to minimize potential attack surfaces at the appliance administration level. See my public-key add.
User Privileges
Users with the following privileges can perform this command:
>Admin
>Operator
>Monitor
Syntax
my public-key add <lunash_user_public_key>
| Argument(s) | Description |
|---|---|
| <lunash_user_public_key> | Specifies the name of the public key to add. |
Example
lunash:>my public-key add somekey Command Result : 0 (Success)