3PAR InForm® OS 2.2.4 CLI Administrator's Manual (320-200113 Rev A, March 2009)
3.25
SSH
InForm OS Version 2.2.4 3PAR InForm OS CLI Administrator’s Manual
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.
Ensure that only the owner has access and read/write permission on the private key file,
otherwise the SSH client refuses the key file.
3 Log on to an InServ system from any system with the SSH client installed.
$ 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).
$ssh user3@system1
user3@system1’s password: testpw3