code: private String updateRemoteHost(String remoteHost){
  
  		String [] splitStr = remoteHost.split("\\.");
  		remoteHost = new StringBuilder(remoteHost).insert(splitStr[0].length(), "-all").toString();
  		return remoteHost;
  	}
docs: Update the remoteHost parameter with the suffix "-all" within the subdomain name
  
  @param remoteHost