Open stone212 opened 7 years ago
Interesting idea, saving the current cluster out to the config file - I will think on how best to achieve this.
The docs on the configuration files are within cssh --man
or perldoc cssh
at the very least. You may also have 'man cssh' working on your system, depending on how it was installed.
You can create clusters in $HOME/.clusterssh/clusters
in the format:
<tag> [user@]<server>[:port] [...]
or, in recent versions you can create definitions the other way around
[user@]<server>[:port] <tag> [...]
such that cssh <tag>
will open windows to all the servers.
Also, in a recent version, you can define a command via external_cluster_command
that will generate the cluster definitions on the fly. See the docs for more info.
I have noticed you cannot see any reasonable docs via http://search.cpan.org/~duncs/App-ClusterSSH-4.09/ so I will see if I can change this.
Duncs
The README file has been renamed as INSTALL and the full cssh man page is now written into README as part of the release process.
See http://cpansearch.perl.org/src/DUNCS/App-ClusterSSH-4.10_01/README as an example.
That's very helpful. Also, that doc specifies that the clusters should be specified as:
I was using the GUI and I manually have to add each host. Once I have all of my hosts open, I woul dlike to save this as a cluster.
I have not had any success with a config file. Basically I cannot create clusters in any way. If there is a good reference on how to create clusters with the config file, I would appreciate a link.
Still, the above would be an excellent feature to have. Creating a cluster from the GUI.