my public-key clear
Delete all SSH public keys 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 clear.
User Privileges
Users with the following privileges can perform this command:
>Admin
>Operator
>Monitor
Syntax
my public-key clear [-force]
| Argument(s) | Shortcut | Description |
|---|---|---|
| -force | -f | Force the action without prompting. |
Example
lunash:>my public-key clear WARNING !! This command will delete all User SSH Public Keys.
If you are sure that you wish to proceed, then enter 'proceed', otherwise this command will abort. > proceed
Proceeding...
Command Result : 0 (Success)