22Installation overview

Configuring secure shell (ssh) or remote shell before installing products

6At the sftp prompt, enter the following command:

sftp> put /.ssh/id_dsa.pub

The following output is displayed:

Uploading /.ssh/id_dsa.pub to /id_dsa.pub

7To quit the SFTP session, enter the following command:

sftp> quit

8To begin the ssh session on the target system (system2 in this example), enter the following command on system1:

system1 # ssh system2

Enter the root password of system2 at the prompt:

password:

9After you log in to system2, enter the following command to append the id_dsa.pub file to the authorized_keys file:

system2 # cat /id_dsa.pub >> /.ssh/authorized_keys

10After the id_dsa.pub public key file is copied to the target system (system2), and added to the authorized keys file, delete it. To delete the id_dsa.pub public key file, enter the following command on system2:

system2 # rm /id_dsa.pub

11To log out of the ssh session, enter the following command:

system2 # exit

Page 18
Image 18
HP UX Operating Systems manual At the sftp prompt, enter the following command, Following output is displayed