Home >

LunaSH Command Reference Guide > LunaSH Commands > my > my public-key clear

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 SafeNet Luna Network HSM are still sysconf ssh publickey enable and sysconf ssh publickey disable.

User Privileges

Users with the following privileges can perform this command:

Admin

Operator

Monitor

Syntax

my public-key clear [-force]

Option 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)