Skip to main content
Welcome guest. | Register | Login | Post

ssh on multiple servers Using cluster ssh

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.

Full Story


Not a great idea. If you're

Not 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?

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.