ssh on multiple servers Using cluster ssh
By david23 on 08 Jan 2008
Cluster SSH opens terminal windows with connections to specified hosts and an administration console. Any text typed into the administration console is replicated to all other connected and active windows. This tool is intended for, but not limited to, cluster administration where the same configuration or commands must be run on each node within the cluster.Performing these commands all at once via this tool ensures all nodes are kept in sync.









Comments
Not a great idea. If you're
by tbuitenh | Tue, 2008-01-08 16:05Not a great idea. If you're administrating several hosts, it's best to try out the series of commands you want to run on one of them, copy what you did to a script, prefix each line with
ssh "$@", and re-run the script with the proper ssh command line arguments for each server. You might even use xargs, how is left as an exercise for the reader.Why? Because in an interactive session you're much more likely to screw up than in a script you double check for typos. Do you want to screw up on several servers at once?