756 Implementing the IBM Storwize V7000 with IBM Spectrum Virtualize V8.2.1
CLI setup
The IBM Spectrum Virtualize system features a powerful CLI that offers more options and 
flexibility as compared to the graphical user interface (GUI). This appendix describes how to 
configure a management system by using Secure Shell (SSH) protocol to connect to the IBM 
Spectrum Virtualize system for issuing commands by using the CLI.
For more information about the CLI, see IBM Knowledge Center. 
In the IBM Spectrum Virtualize GUI, authentication is performed by supplying a user name 
and password. CLI uses SSH to connect from a host to the IBM Spectrum Virtualize system. 
A private and a public key pair or user name and password is necessary.
The use of SSH keys with a passphrase is more secure than a login with user name and 
password because authenticating to a system requires the private key and the passphrase. 
By using the other method, only the password is required to obtain access to the system.
When SSH keys are used without a passphrase, it becomes easier to log in to a system 
because you must provide only the private key when performing the login and you are not 
prompted for password. This option is less secure than the use of SSH keys with a 
passphrase.
To enable CLI access with SSH keys, complete the following steps:
1. Generate a public key and a private key as a pair.
2. Upload a public key to the IBM Spectrum Virtualize system by using the GUI. 
3. Configure a client SSH tool to authenticate with the private key.
4. Establish a secure connection between the client and Storwize V7000 system.
SSH is the communication vehicle between the management workstation and the IBM 
Spectrum Virtualize system. The SSH client provides a secure environment from which to 
connect to a remote machine. It uses the principles of public and private keys for 
authentication.
SSH keys are generated by the SSH client software. The SSH keys include a public key, 
which is uploaded and maintained by the Storwize V7000 system, and a private key, which is 
kept private on the workstation that is running the SSH client. These keys authorize specific 
users to access the administration and service functions on the system. 
Each key pair is associated with a user-defined ID string that can consist of up to 256 
characters. Up to 100 keys can be stored on the system. New IDs and keys can be added, 
and unwanted IDs and keys can be deleted. To use the CLI, an SSH client must be installed 
on that system. To use the CLI with SSH keys, the SSH client is required. An SSH key pair 
also must be generated on the client system, and the client’s SSH public key must be stored 
on the IBM Spectrum Virtualize systems.
Basic setup on a Windows host
The SSH client on a Windows host that is used in this book is PuTTY. A PuTTY key generator 
can also be used to generate the private and public key pair. The PuTTY client can be 
downloaded at no cost from this website.
Note: If a task completes in the GUI, the associated CLI command is always displayed in 
the details, as shown throughout this book.