my public-key
Access commands that allow the currently logged in user to manage their public keys. Add a public key for your user if you wish to authenticate your sessions using public-key authentication rather than password. The Luna Network HSM 7 is shipped with public-key authentication allowed, by default. However, you nevertheless must make your first connections using password authentication, until you have imported a public key from your computer and added it to the appliance with my public-key add command.
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.
Syntax
my public-key
add
clear
delete
list
| Argument(s) | Shortcut | Description |
|---|---|---|
| add | a | Adds an SSH public key for the currently logged in user. See my public-key add. |
| clear | c | Deletes all SSH public keys for the currently logged in user. See my public-key clear. |
| delete | d |
Deletes an SSH public key for the currently logged in user. See my public-key delete. |
| list | l | Lists the SSH public keys owned by the currently logged in user. See my public-key list. |