3PAR InForm® OS 2.3.1 CLI Reference (320-200166 Rev B, March 2010)

21.70
Command Line Interface Reference InForm OS Version 2.3.1
COMMAND
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 InServ Storage Server, 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
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.