Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Section
Column
width5%

 

Column
width95%
Panel
bgColorCCC
[oracle@avisit01]$ ssh-keygen 
Generating public/private dsa key pair.
Enter file in which to save the key (/oracle/orabase/.ssh/id_dsa):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /oracle/orabase/.ssh/id_dsa.
Your public key has been saved in /oracle/orabase/.ssh/id_dsa.pub.
The key fingerprint is:
73:c7:f5:7c:ee:bd:62:7f:0d:51:ed:8a:c7:45:f7:d9 oracle@avisit01
*In this example avisit01 is the primary server and avisit03 is the standby server.
The public/private key pair may either be dsa or rsa
On some implementation of ssh, you have to specify: ssssh-keygen -t dsa
Section
Column
width5%

 

Column
width95%

On Linux the output may be different:

Panel
bgColorCCC
[oracle@avisit01]$ ssh-keygen 
Generating public/private rsa key pair.
Enter file in which to save the key (/oracle/orabase/.ssh/identity):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /oracle/orabase/.ssh/identity.
Your public key has been saved in /oracle/orabase/.ssh/identity.pub.
The key fingerprint is:
a2:88:ad:53:e8:5b:37:a1:82:6d:03:ec:96:c4:6b:df oracle@avisit01
*In this example avisit01 is the primary server and avisit03 is the standby server.
This will generate 2 files under your home directory: .ssh/id_dsa and .ssh/id_dsa.pub
Or generate the following files under your home directory: ssh/id_rsa and .ssh/id_rsa.pub

On Linux the files may be called different: .ssh/identity and .ssh/identity.pub

...