Home >

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

my public-key delete

Delete an SSH public key 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 delete <lunash_user_public_key>

Parameter Shortcut Description
<lunash_user_public_key>   Specifies the name of the public key to delete.

Example

lunash:>my public-key delete somekey 
 
Command Result : 0 (Success)