remote_update.pl is a script that uses Expect, PERL, and SSH to perform automated remote administration on a large number of hosts. The script is given a set of passwords, a list of remote hosts, a collection of files to copy over, and a set of scripts to run on the remote hosts. The only thing required to be running on the remote machines is SSH. It tries to copy all of the needed files and scripts to the remote machine via SCP as a non-root user, SSH in as the non-root user, su to root on the remote machine if applicable, and then execute the scripts you provided. This process is cycled for every host given. su'ing to root can be turned off, and also the tasks can be parallelized in multiple processes.
DocumentationUser README available in HTML format from http://www.viraj.org/remote_update/README
released on 19 June 2002
|License||Verified by||Verified on||Notes|
|GPLv2orlater||Janet Casey||22 August 2001|
Leaders and contributors
Resources and communication
|Required to use||expect|
|Required to use||expect/Tcl/tk libraries|
|Required to use||Open SSH (local and remote hosts)|
This entry (in part or in whole) was last reviewed on 17 May 2005.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the page “GNU Free Documentation License”.
The copyright and license notices on this page only apply to the text on this page. Any software or copyright-licenses or other similar notices described in this text has its own copyright notice and license, which can usually be found in the distribution or license text itself.