infrastructure/src/main/java/org/apache/geode/infrastructure/aws/KeyInstaller.java [60:83]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      sftpClient.setattr(dest, new FileAttributes.Builder()
          .withPermissions(Collections.singleton(FilePermission.USR_R)).build());
    } catch (IOException e) {
      throw new UncheckedIOException(e);
    } catch (InterruptedException e) {
      throw new RuntimeException(e);
    }
  }

  private void connect(String host, SSHClient client) throws IOException, InterruptedException {

    int i = 0;
    while (true) {
      try {
        i++;
        client.connect(host);
        return;
      } catch (ConnectException e) {
        if (i >= RETRIES) {
          throw e;
        }

        System.out.println("Failed to connect, retrying...");
        Thread.sleep(AwsBenchmarkMetadata.POLL_INTERVAL);
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



infrastructure/src/main/java/org/apache/geode/infrastructure/aws/MetadataInstaller.java [64:87]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      sftpClient.setattr(dest, new FileAttributes.Builder()
          .withPermissions(Collections.singleton(FilePermission.USR_R)).build());
    } catch (IOException e) {
      throw new UncheckedIOException(e);
    } catch (InterruptedException e) {
      throw new RuntimeException(e);
    }
  }

  private void connect(String host, SSHClient client) throws IOException, InterruptedException {

    int i = 0;
    while (true) {
      try {
        i++;
        client.connect(host);
        return;
      } catch (ConnectException e) {
        if (i >= RETRIES) {
          throw e;
        }

        System.out.println("Failed to connect, retrying...");
        Thread.sleep(AwsBenchmarkMetadata.POLL_INTERVAL);
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



