HP UX Operating Systems manual System output similar to the following is displayed

Page 16

20Installation overview

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

To create the DSA key pair

1On the source system (system1), log in as root, and navigate to the root directory.

system1 # cd /

2To generate a DSA key pair on the source system, type the following command:

system1 # ssh-keygen -t dsa

System output similar to the following is displayed:

Generating public/private dsa key pair.

Enter file in which to save the key (//.ssh/id_dsa):

3Press Enter to accept the default location: /.ssh/id_dsa.

4When the program asks you to enter the passphrase, press the Enter key twice.

Enter passphrase (empty for no passphrase):

Do not enter a passphrase. Press Enter.

Enter same passphrase again:

Press Enter again.

5Make sure the /.ssh directory is on all the target installation systems (system2 in this example). If that directory is not present, create it on all the target systems and set the write permission to root only:

system2 # mkdir /.ssh

Change the permissions of this directory, to secure it.

system2 # chmod go-w /.ssh

Image 16
Contents HP-UX 11i Unix is a registered trademark of The Open Group Contents Contents Symantec Product Authentication Service Product overviewComponent software This chapter includes the following topicsStorage Foundation Management Server Veritas Storage FoundationAbout this product Veritas Storage Foundation for Oracle About Veritas Storage Foundation for OracleStorage Foundation Cluster File System Storage Foundation for Oracle RACAbout Veritas Storage Foundation Cluster File System About Veritas Storage Foundation for Oracle RACProduct overview Storage Foundation for Oracle RAC Product overview Storage Foundation for Oracle RAC Contents of the software discs in the media kit How the discs are organizedDirectory name or file name Contents Disc directory structureDocumentation references, before you install Installation overviewPerforming preinstallation checks and configuration Page Configuring and enabling ssh Source System system1 Target System system2Do not enter a passphrase. Press Enter System output similar to the following is displayedChange the permissions of this directory, to secure it Connecting to system2 If the lines are not there, add them and restart sshAt the sftp prompt, enter the following command To quit the Sftp session, enter the following commandEnter the root password of system2 at the prompt To log out of the ssh session, enter the following commandRepeat this procedure for each target system Where system2 is the name of the target systemEnabling remsh Mounting a software disc Verify that the disc is mountedCopying and unzipping the downloaded release # cd /parentdirectory/install Where to find more information Service and supportYou can access product documentation in the following ways DocumentationWhere to find more information Service and support