1.
From any host that is running SSH client, enter the following example:
$ ssh user@<System–host–name>
In the previous example,
ssh user
is the first default user with Super rights and
<System–host–name>
is the array host name.
2.
If this is the first login from the client host (for example, when the host does not already have
a system public key for identity), expect the following message:
The authenticity of host <System–host–name> can’t be established.
RSA key fingerprint is 68:a6:c9:60:a1:cb:….
Are you sure you want to continue connecting (yes/no): yes
When prompted to continue, enter
yes
.
This is normal SSH behavior, because the client host does not have the system’s public key.
If the system’s public key has previously been stored on the client host, this message will not
be displayed. After you have set the key, this message will not be displayed.
NOTE:
The validity of the key fingerprint presented at this point can be verified by using the
public keys provided as part of the HP 3PAR Administration Tools. These keys can be installed
with the administration tools or can be obtained directly from the HP 3PAR Administration
Tools CD. Consult the SSH client documentation for instructions on creating a key fingerprint
from the public key.
3.
When prompted, enter the default password. If you do not have the password, contact your
service provider.
4.
After you enter the password, the CLI prompt appears.
<System–host–name> cli %
In the previous example,
System–host–name
is the system’s cluster name or host name.
You are now in the CLI shell and can issue the CLI commands that are documented in this
manual.
5.
If you need to create additional CLI users, use the
createuser
command. For more
information, see
“Creating Users” (page 18)
.
6.
Terminate the CLI session by typing
exit
at the prompt.
<System–host–name> cli % exit
Newly created CLI users can access the CLI by following these instructions, while substituting
their own user name, system name, and password when prompted.
CLI Scripting Through SSH
You can use SSH public key authentication to issue CLI commands in scripts. No password is
required; however, you will need to generate a public/private key pair.
54
Running the HP 3PAR Command Line Interface