HP 3PAR User's Guide Page 329

  • Download
  • Add to my manuals
  • Print
  • Page
    / 676
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 328
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
Page view 328
1 2 ... 324 325 326 327 328 329 330 331 332 333 334 ... 675 676

Comments to this Manuals

No comments