String sshUser = System.getenv("USER");
String userHome = System.getProperty("user.home");
String sshIdentityLocation = userHome + FileSeparator + ".ssh"
+ FileSeparator + "id_dsa";
DuccRemoteLauncher remoteLauncher = new DuccRemoteLauncher(
sshUser, sshIdentityLocation, System.out);
//remoteLauncher.initialize();
List<Future<ProcessCompletionResult>> results = new ArrayList<Future<ProcessCompletionResult>>();
while ((strLine = br.readLine()) != null) {
results.add(remoteLauncher.execute(strLine.trim(), command,
this));
}
// Close the input stream
in.close();
for (Future<ProcessCompletionResult> result : results) {