RAC host configuration ssh mutual trust method tutorial
This article mainly explains "RAC host configuration ssh mutual trust method tutorial", interested friends may wish to take a look. The method introduced in this paper is simple, fast and practical. Next let the editor to take you to learn the "RAC host configuration ssh mutual trust method tutorial"!
Node1
[oracle@node1] $ssh-keygen-t rsa
[oracle@node1] $ssh-keygen-t dsa
[oracle@node1 ~] $cd .ssh
[oracle@node1 ssh] $cat * .pub > > authorized_keys
Node2
[oracle@rac2] $ssh-keygen-t rsa
[oracle@rac2] $ssh-keygen-t dsa
Node1
[oracle@rac1 ssh] $scp authorized_keys node2:/home/oracle/.ssh/
Node2
[oracle@rac2 ~] $cd .ssh
[oracle@rac2 ssh] $cat * .pub > > authorized_keys
[oracle@rac2 ssh] $scp authorized_keys node1:/home/oracle/.ssh/
Verify equivalence
[oracle@node1 ~] $ssh node1 date
[oracle@node1 ~] $ssh node1-priv date
[oracle@node1 ~] $ssh node1 date
[oracle@node1 ~] $ssh node1-priv date
[oracle@node2 ~] $ssh node2 date
[oracle@node2 ~] $ssh node2-priv date
[oracle@node2 ~] $ssh node2 date
[oracle@node2 ~] $ssh node2-priv date
At this point, I believe that everyone on the "RAC host configuration ssh mutual trust method tutorial" have a deeper understanding, might as well to practical operation it! Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!