title: Update script to replace number for each host then transfer the new file to the set of servers
body: <p>Basically what I am looking to do is setup an update server. I have multiple raspberry pi's that need to be updated, sshing into them takes a lot of time. Once I have a new script that needs to be pushed out to each raspberry pi, one number in the new script needs to be changed according to the raspberry pi. Once that is changed for the raspberry pi then the script needs to be transferred to that pi via scp preferably. Then the update script will continue on to the next pi and change the new script accordingly.</p>
  
  <p>I am not quite sure how I should set this up.</p>
  
  <p>Any help is appreciated.</p>