3PAR InForm® OS 2.3.1 CLI Administrator's Manual (320-200180 Rev B, February 2010)
3.24
SSH
3PAR InForm CLI Administrator’s Manual InForm OS Version 2.3.1
In the previous example, user user1 logs into InServ system system1 and creates user
user3 with the password testpw3.
2 Create a key pair using the ssh–keygen utility. Both
rsa and dsa key formats are supported
by the InServ system and recommended key length is 1024.
To create a key pair using
rsa format:.
To create a key pair using
dsa format:
The ssh–keygen utility generates two files:
id_rsa.pub and id_rsa.pub (or
id_dsa.pub and id_dsa.pub).
◆ Generate the key with or without a pass phrase.
◆ When the key is generated with a pass phrase, your private key is stored encrypted
in the file.
◆ When a pass phrase is not specified, the key is stored unencrypted in the file.
NOTE: For additional information about the ssh–keygen utility and rsa and dsa
key formats, consult your SSH client documentation.
$ ssh–keygen –b 1024 –t rsa
$ ssh–keygen –b 1024 –t dsa
Generating public/private dsa key pair.
Enter file in which to save the key (/home/usr/user3/.ssh/id_dsa):
Created directory '/home/usr/user3/.ssh'.
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /home/usr/user3/.ssh/id_dsa.
Your public key has been saved in /home/usr/user3/.ssh/id_dsa.pub.
The key fingerprint is:
3f:a0:b5:6a:4d:dd:45:76:37:fb:a3:3e:52:44:55:32 user3@3pardata.com
NOTE: The pass phrase must be entered and decrypted before running a script.
Running the
ssh–agent and ssh–add commands decrypt the key (see step 6
on page 3.26).