}
} else {
return sshConnection.sshExecute(commandString, timeout);
}
} catch (IOException e) {
throw new ProcessExecutionException("Error during command execution", e);
} catch (InterruptedException e) {
ExceptionUtils.handleInterrupted(e);
throw new ProcessExecutionException("Error during command execution", e);
} catch (SshException e) {
throw new ProcessExecutionException("Error during command execution", e);
}
}