Post by Alvaro G VicarioMe gustaría saber si hay alguna de ejecutar un script automáticamente en
varias máquinas, para no tener que andar abriendo sesiones SSH una por una,
descargar el script, ejecutar...
No sé si los habrás mirado ya, pero yo alguna vez me he encontrado esto
cuando buscaba paquetes para instalar (no los he probado):
mimachine:~$ apt-cache search ssh multiple
clusterssh - administer multiple ssh or rsh shells simultaneously
dsh - dancer's shell, or distributed shell
mimachine:~$ apt-cache show clusterssh dsh
Package: clusterssh
Priority: optional
Section: admin
Installed-Size: 136
Maintainer: tony mancill <***@debian.org>
Architecture: all
Version: 2.18-1
Depends: perl-suid, perl-tk, ssh, libconfig-simple-perl, xterm |
x-terminal-emulator, xbase-clients
Filename: pool/main/c/clusterssh/clusterssh_2.18-1_all.deb
Size: 32804
MD5sum: b9b21241e8081c17c4c91fb7f7d66bdc
Description: administer multiple ssh or rsh shells simultaneously
ClusterSSH allows you to control multiple ssh sessions at the same
time.
It is a Perl-Tk app that launched xterms for each of the sessions, but
also allows you to interact with the individual xterms if desired.
Package: dsh
Priority: optional
Section: net
Installed-Size: 180
Maintainer: Junichi Uekawa <***@debian.org>
Architecture: i386
Version: 0.25.4-1
Depends: libc6 (>= 2.3.2.ds1-4), libdshconfig1 (>= 0.20.11-1)
Suggests: update-cluster
Filename: pool/main/d/dsh/dsh_0.25.4-1_i386.deb
Size: 34598
MD5sum: 3341d511b86bcc8d23640c8177526b3d
Description: dancer's shell, or distributed shell
Executes specified command on a group of computers using remote shell
methods such as rsh or ssh.
.
dsh can parallelise job submission using several algorithms, such as
using
fan-out method or opening as much connections as possible, or
using a window of connections at one time.
It also supports "interactive mode" for interactive maintenance of
remote hosts.
.
This tool is handy for administration of PC clusters, and multiple
hosts.
.
http://www.netfort.gr.jp/~dancer/software/dsh.html
Un saludo.
--claudio--