User's Manual

4.12
Setting Up SSH Connections for Recovery Manager
Recovery Manager for Oracle User’s Guide
primary host, perform the procedure described in 4.3.3 Generating an SSH Key Pair for the
Backup Host on page 4.11 on the primary host.
If you choose to use the same SSH key pair, create one InForm CLI user (see 4.3.7 Setting Up
Connections from the Backup Host to the NetBackup Master Server on page 4.13 and 4.3.9
Setting Up Connections from the Backup Host to the InServ Storage Server on page 4.14). Then
copy the SSH key pair from the backup host to the primary host as follows:
4.3.5 Setting Up Connections from the Backup Host to the Primary Host
To set up an SSH connection from the backup host to the primary host, perform the following:
X Copy the public key (id_rsa.pub) of the backup host to the authorized_keys file of
the primary host.
If the
authorized_keys file already exist, add the public key to the end of the
authorized_keys file.
4.3.6 Verifying Connections from the Backup Host to the Primary Host
From the backup host, verify the connection to the primary host as follows:
NOTE: In an RAC environment, all the nodes in the cluster must have the same
SSH key pair in order to run Recovery Manager utilities against any RAC instance
on any node.
<primary_host> # scp <backup_host>:~/.ssh/* ~/.ssh
The authenticity of host 'pilot (192.168.3.130)' can't be established.
RSA key finger print is xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'pilot (192.168.3.130)' to the list of known
hosts.
root@pilot's password:
<backup_host> # scp ~/.ssh/id_rsa.pub <primary_host>:~/.ssh/authorized_keys
NOTE: If you are prompted for a password, the setup is incorrect and you must
redo the previous setup.