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 the existence of the public keys for use by ssh sessions, but the commands to enable and disable their use on SafeNet Network HSM are still at:   
sysconf ssh publickey enable   
and   
sysconf ssh publickey disable  

Syntax

my public-key clear [-force]

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