OracleRAC equivalent for configuring ssh users

Source: Internet
Author: User
1) First, execute su on each node as Oracle.

1 ). run su-Oracle chmod 700 on each node as Oracle. ssh cd. ssh-keygen-t rsa ssh-keygen-t dsa 2) merges the authorized_keys file of the node and overwrites all nodes with this file. rac1: cat *. pub authorized_keys scp authorized_keys

1) First, execute
Su-Oracle
Chmod 700. ssh
Cd. ssh
Ssh-keygen-t rsa
Ssh-keygen-t dsa

2) combine the authorized_keys file of the node to overwrite the files of the same name under various nodes. ssh.

Rac1:
Cat *. pub> authorized_keys


Scp authorized_keys rac2:/home/Oracle/. ssh/keys
Rac2:
Cat *. pub> authorized_keys
Cat keys> authorized_keys
Scp authorized_keys rac1:/home/Oracle/. ssh/

3) test
Ssh rac1 date

Ssh rac2 date

Note: Make sure that the username and password of Oracle are correct.

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.