Java cluster ssh library?
Is there a Java library for running large numbers of SSH connections across a cluster? I'm looking fo开发者_如何学JAVAr something similar to the pdsh command line tool, or the clustershell python library.
The required functionality is something that lets you run_ssh("command -options", listOfHosts)
, and then handles running the command across thousands of hosts.
The best SSH tool in Java is probably JSch:
- http://www.jcraft.com/jsch
You can then easily write your own class that executes a command on a list of hosts.
精彩评论