HP 3PAR StoreServ 7450 4-node HP 3PAR Command Line Interface Reference (OS 3.1 - Page 329
setsshkey, storage system
View all HP 3PAR StoreServ 7450 4-node manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 329 highlights
setsshkey DESCRIPTION The setsshkey command sets the SSH public key for a user. The user will be prompted to provide the SSH public key. To finish entering the public key, press enter on a blank line. The key must have been generated using the ssh-keygen utility. The public key is contained in the user-defined file named with .pub extension. The user can open this file with an ASCII editor to copy the key and paste it. After setting the SSH public key on the HP 3PAR storage system, the user can use the corresponding private key to log on without a password. This new key replaces the existing key if any. SYNTAX setsshkey [options] AUTHORITY • Super, Edit, Browse, Service • Any role granted the sshkey_set right. OPTIONS -add Specifies that the given key should be added to the list of authorized keys instead of replacing existing ones. SPECIFIERS None. RESTRICTIONS None. EXAMPLES The following example displays the setting of a user's SSH public key: cli% setsshkey Please enter the SSH public key below. When finished, press enter twice. The key is usually long. It's better to copy it from inside an editor and paste it here. (Please make sure there are no extra blanks.) The maximum number of characters used to represent the SSH key (including the "from" option, key type, and additional comments) is 4095. ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAp+4Z3zT8Sq6t3s08q/MMd2ZnMpRc/3tyHMk63dH R8b/VgV6ewXNfYhhfTGWRdZ1dtyLFXnuEPuf+z8EtinFStinTzA3FiJ0agK7rLoNtn/F0jBaGWm SWukqzAQA2VJvq/keaLVMT3+J3nvXEUcjS4fApeeLwFgKczOX511oaHDtn2ys2C5l+mLw1VDUJL wIKJljOWqr68ToeRgTDmoppOI3cG14ryF0re4xKANHFQLnSCt5ANjqD2jpnyEABuOvBX7G6vI5g zQFfcAda/a2bq563/AHr8Ehhi5EVy+GSCqjj8cr0/zHSZyX6llQUfe0YxmayPEKlods6bDi5oxG COw== user1@server1" setsshkey 329