1 – Servidores utilizados:
172.16.0.100 – PRD
172.16.0.221 – STANDBY
ShellScript2 – Gerar chaves nos servidores PRD e STANDBY.
[root@prd ~]# ssh-keygen -t rsa
[root@standby ~]# ssh-keygen -t rsa
ShellScript3 – Do PRD para STANDBY:
ssh-copy-id [email protected]
ShellScript4 – Do STANDBY para PRD:
ssh-copy-id [email protected]
ShellScript