GlieseLogger.LOGGER.info("Executing command '" + command + "'");
lastReqSuccess = false;
ChannelRequestMessage msg = new ChannelRequestMessage();
msg.setChannelId(remoteId);
msg.setWantReply(true);
ExecChannelRequest req = new ExecChannelRequest(command);
msg.setRequest(req);
manager.writeMessage(msg);
synchronized (LOCK) {
while (true) {
try {