HP 3PAR OS 3.1.3 Command Line Interface Reference

NOTES
Issuing the setsshkey command results in the system prompting for your SSH public key.
Copy and paste the key using the aforementioned ASCII editor on the command line and then
press ENTER.
After setting the SSH public key on the system, use the corresponding private key to log on
without a password. A single ssh key may be used for multiple hosts with a single use of
setsshkey, or different keys may be used for different hosts. To restrict the usage of a key
to a particular host, a -from option can be added to the beginning of a key. For example:
from="192.168.1.1" ssh-rsa AAAAB3Nza...
The maximum number of characters used to represent the SSH key (including the -from
option, key type, and additional comments) is 4095.
LDAP users are only allowed to set an SSH key if the setauthparam command has been
used to set the allow-ssh-key parameter to 1. When an LDAP user runs the setsshkey
command, the user's role level is recorded and is assigned when the user logs in using the
key. Changes in the group-to-role mappings set with the setauthparam command or changes
in the user's data in the LDAP server have no effect as long as the user has an SSH key.
Removing the user’s SSH key forces a new role to be determined at the user’s next login.
Only one key may be entered at a time; to enter multiple keys, run the setsshkey command
again with the -add option.
setsshkey 319