Appendix B. CLI setup 767
Your identification has been saved in /.ssh/sshkey.
Your public key has been saved in /.ssh/sshkey.pub.
The key fingerprint is:
55:5e:5e:09:db:a4:11:01:b9:57:96:74:0c:85:ed:5b root@hostname.ibm.com
The key's randomart image is:
+--[ RSA 1024]----+
|           .+=BO*|
|           + oB*+|
|          . oo+o |
|         . . .  E|
|        S   .   o|
|               . |
|                 |
|                 |
|                 |
+-----------------+
#
In ssh-keygen, the parameter -t refers to the type of SSH key (RSA in Example B-1 on 
page 766) and -b is the size of SSH key in bits (Example B-1 on page 766, 1024 bits was 
used). 
You also must specify the path and name for the SSH keys. The name that you provide is the 
name of the private key. The public key has the same name, but with extension .pub. In 
Example B-1 on page 766, path is /.ssh/, name of private key is sshkey and name of public 
key is sshkey.pub.
Uploading the SSH public key to the IBM Storwize V7000
How to upload the new SSH public key to IBM Spectrum Virtualize by using the GUI was 
described in “Uploading the SSH public key to the IBM Storwize V7000” on page 760.
Complete the following steps to upload the public key by using CLI:
1. On the SSH client (for example, AIX or Linux host), use scp to copy the public key to IBM 
Storwize V7000. The basic syntax for the command is:
scp <file> <user>@<hostname_or_IP_address>:<path>
The directory /tmp in the IBM Spectrum Virtualize active configuration node can be used 
to store the public key temporarily. Example B-2 shows the command to copy the new 
generated public key to the IBM Spectrum Virtualize system.
Example B-2   SSH public key copy to IBM 
# scp /.ssh/sshkey.pub admin@192.168.1.100:/tmp/
Password:
sshkey.pub                                                                            
100%  241     0.2KB/s   00:00
#
Note: The use of a passphrase for the SSH key is optional. If a passphrase is used, 
security is increased, but more steps are required to log in with the SSH key because the 
user must enter the passphrase.