Equivalent to configuring ssh users for Installing Out-of-the-box RAC

Source: Internet
Author: User

RAC-2 Configuration

[Oracle @ RAC-2. ssh] $ ssh-keygen-t rsa

Generating public/private rsa key pair.

Enter file in which to save the key (/home/oracle/. ssh/id_rsa ):

Enter passphrase (empty for no passphrase ):

Enter same passphrase again:

Your identification has been saved in/home/oracle/. ssh/id_rsa.

Your public key has been saved in/home/oracle/. ssh/id_rsa.pub.

The key fingerprint is:

15: cb: 6b: c9: 31: dc: e0: f4: 25: bf: b3: 87: 86: 9a: 68: bc oracle @ RAC-2

[Oracle/RAC-2. ssh] $ ssh-keygen-t dsa

Generating public/private dsa key pair.

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

Enter passphrase (empty for no passphrase ):

Enter same passphrase again:

Your identification has been saved in/home/oracle/. ssh/id_dsa.

Your public key has been saved in/home/oracle/. ssh/id_dsa.pub.

The key fingerprint is:

3b: 84: c4: 2b: b6: a9: 10: 6d: 1f: 99: ff: 79: b8: 6f: 23: a2 oracle @ RAC-2

[Oracle @ RAC-2. ssh] $ cat *. pub> authorized_keys

 

RAC-1 Configuration

[Oracle @ RAC-1. ssh] $ ssh-keygen-t rsa

Generating public/private rsa key pair.

Enter file in which to save the key (/home/oracle/. ssh/id_rsa ):

Enter passphrase (empty for no passphrase ):

Enter same passphrase again:

Your identification has been saved in/home/oracle/. ssh/id_rsa.

Your public key has been saved in/home/oracle/. ssh/id_rsa.pub.

The key fingerprint is:

Bc: 5c: a3: 42: 8c: c8: 8e: b5: d1: cd: be: 09: 28: 15: 79: 24 oracle @ RAC-1

[Oracle/RAC-1. ssh] $ ssh-keygen-t dsa

Generating public/private dsa key pair.

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

Enter passphrase (empty for no passphrase ):

Enter same passphrase again:

Your identification has been saved in/home/oracle/. ssh/id_dsa.

Your public key has been saved in/home/oracle/. ssh/id_dsa.pub.

The key fingerprint is:

48: 73: 62: 3a: 60: c9: ac: 26: ef: 27: e3: 60: 88: 37: 7e: bf oracle @ RAC-1

[Oracle @ RAC-1. ssh] $ cat *. pub> authorized_keys

 

After completion, merge all the nodes authorized_keys and overwrite the files with the same name under each node.

# You can transmit or share files through NFS, FTP, and shared physical host folders.

# Merge cat file1> file2.

 

Test after completion.

[Oracle @ RAC-1. ssh] $ ssh rac-2.

Last login: Fri Mar 18 00:18:36 2011 from rac-1

[Oracle @ RAC-1. ssh] $ ssh rac-2-priv.

Last login: Fri Mar 18 00:18:53 2011 from rac-1

 

[Oracle @ RAC-2. ssh] $ ssh rac-1.

Last login: Fri Mar 18 00:17:57 2011 from rac-2-priv

[Oracle @ RAC-2. ssh] $ ssh rac-1-priv.

Last login: Fri Mar 18 00:19:47 2011 from rac-2

The test is successful.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.