| Computing.Net: Over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to sign up now, it's free! |
Scripting Help - UNIX
|
Original Message
|
Name: andrushka
Date: October 31, 2005 at 13:46:26 Pacific
Subject: Scripting Help - UNIXOS: 2.8CPU/Ram: 4gb ram |
Comment: I am in the process of writing a script which will overwrite an obj.conf file on 10 web servers. This script will be staged on a machine that can connect to these web servers. Now here is the hard part (for me). I can wirte a basic script to overwrite the obj.conf file (eg, cp xxx.obj.ex obj.conf) for each machine individually, but how can I write it so that all 10 machines will be included in the script so I don't have to login to each web server individually and run the script in the case of a Business Resumption situation? thanks in advance thanks,andy
Report Offensive Message For Removal
|
|
Response Number 1
|
Name: cdac1000
Date: November 9, 2005 at 03:46:57 Pacific
|
Reply: (edit)maybe you can use ssh-keygen and copy the public key across all the server. Once this is done, you can simply use scp to copy the file. Have you conisiderd that ?
Report Offensive Follow Up For Removal
|

Post Locked
This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
Go to Unix Forum Home