I am currently using scp manually to update different files from one host to 3 other hosts : at connection my password is requested and I enter it
I want to setup crontab to do so.
How can I configure scp to avoid password propmpting. I understand I have to use
scp -B -i identity_file cpThisFile root@10.0.0.1/targetFile
How do I generate identity_file for the 3 different targets and where should it be created
The purpose is to propagate IMSS rules, copy /etc/hosts, /etc/postfix/transportList
etc from one master to slaves,
If full instruction and readymade scripts, same amount of points will be available
Stefri
Start Free Trial