Recovery Manager for Oracle User’s Guide

PermitRootLogin yes

NOTE: If you are using native SSH, the sshd_config file is located in

/etc/ssh/sshd_config.

2If the line reads PermitRootLogin no, change the line to read yes.

4.3.3Generating an SSH Key Pair for the Backup Host

To generate an SSH key pair for the backup host:

1Log on to the backup host as the root user.

2Create a key pair with no passphrase using the ssh-keygencommand. If a key-pair already exists, skip this section.

<backup_host:# ssh-keygen -b 1024 -t rsa Generating public/private rsa key pair.

Enter file in which to save the key (//.ssh/id_rsa): Enter passphrase (empty for no passphrase):

Enter same passphrase again:

Your identification has been saved in //.ssh/id_rsa. Your public key has been saved in //.ssh/id_rsa.pub. The key fingerprint is: xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx root@<backup_host>

NOTE: You can create the SSH key as either dsa or rsa. The recommended key length is 1024 (the total of the public and private key lengths).

The ssh-keygenutility generates two files, id_rsa and id_rsa.pub (or id_dsa and id_dsa.pub). The id_rsa (or id_dsa) file contains the private key and the id_rsa.pub (or id_dsa.pub) file contains the public key.

4.3.4 Generating an SSH Key Pair for the Primary Host

You can either use the same SSH key pair generated for the backup host or generate a different SSH key pair for the primary host. If you choose to use the same key pair, create one InForm CLI user, otherwise, create two different CLI users to be accessed from the primary host and the backup host, respectively. If you are generating a different SSH key pair for the

Setting Up SSH Connections for Recovery Manager

4.11

Page 59
Image 59
HP StoreServ Application Suite for Oracle Media manual Generating an SSH Key Pair for the Backup Host