public Map<String, Object> customSshConfigKeys() throws UnknownHostException {
   return MutableMap.<String, Object>of(
       "address",
       Networking.getLocalHost(),
       SshTool.PROP_SESSION_TIMEOUT.getName(),
       20000,
       SshTool.PROP_CONNECT_TIMEOUT.getName(),
       50000,
       SshTool.PROP_SCRIPT_HEADER.getName(),
       "#!/bin/bash");
 }
  @Test(groups = "Integration")
  public void testSshToolReusedWhenConfigDiffers() throws Exception {
    Map<String, Object> props = customSshConfigKeys();
    host.execScript(props, "mysummary", ImmutableList.of("exit"));

    // Use another output stream for second request
    props.put(SshTool.PROP_SCRIPT_HEADER.getName(), "#!/bin/bash -e\n");
    host.execScript(props, "mysummary", ImmutableList.of("exit"));
    assertEquals(
        RecordingSshjTool.connectionCount,
        1,
        "Expected one SSH connection to have been recorded even though out script header differed.");
  }