@Override public CommandOutput executeCommand(Command command) throws CommandException {
  if (!isConnected()) {
    connect();
  }
  String cli=command.getCommandLine();
  return sendCommand(cli);
}

@ Override public CommandOutput executeCommand ( Command command ) throws CommandException { if ( ! isConnected ( ) ) { connect ( ) ; } String cli = command . getCommandLine ( ) ; return sendCommand ( cli ) ; }
executes a command on the remote system .
