code: private OutputStream getOutputStream(final String s) {
          return new OutputStream() {
  
              StringBuffer o = new StringBuffer();
              boolean done = false;
  
              @Override
              public void write(int b) throws IOException {
                  if (b == '\n' && !sync) {
                      synchronized (conf) {
                          System.out.printf("[%s] %s \n", s, o.toString());
                      }
                      o = new StringBuffer();
                  }
                  o.append((char) b);
              }
  
              @Override
              public void flush() throws IOException {
                  if (!done) {
                      if (sync) {
                          System.out.printf("************* %s **************\n", s);
                      }
                      System.out.printf(o.toString());
                      done = true;
                  }
              }
          };
      }
docs: /*
  key=c:/cygwin/home/od/odkey.pem
  ssh=c:/cygwin/bin/ssh
  scp=c:/cygwin/bin/scp
  cluster.default=localhost test
  cluster.ec2=ec2-174-129-140-138.compute-1.amazona...