Home >

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

my public-key add

Add 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 add <lunash_user_public_key>

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