aboutsummaryrefslogtreecommitdiff
path: root/src/testbed/testbed_api.c
diff options
context:
space:
mode:
authorSree Harsha Totakura <totakura@in.tum.de>2012-10-11 14:45:30 +0000
committerSree Harsha Totakura <totakura@in.tum.de>2012-10-11 14:45:30 +0000
commitccf97828d6090d0357625a04ed4bf4075f1a9ee1 (patch)
treee76dff9bc39eb1777a73ee3426ab06b66d782f56 /src/testbed/testbed_api.c
parentb158bb222e1fbce10835c26a38854efb7d2843bf (diff)
downloadgnunet-ccf97828d6090d0357625a04ed4bf4075f1a9ee1.tar.gz
gnunet-ccf97828d6090d0357625a04ed4bf4075f1a9ee1.zip
disabling hostkey checking for localhost
Diffstat (limited to 'src/testbed/testbed_api.c')
-rw-r--r--src/testbed/testbed_api.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/testbed/testbed_api.c b/src/testbed/testbed_api.c
index 0452b097a..1c5d01342 100644
--- a/src/testbed/testbed_api.c
+++ b/src/testbed/testbed_api.c
@@ -1462,7 +1462,7 @@ GNUNET_TESTBED_controller_start (const char *controller_ip,
1462 &helper_mst, &helper_exp_cb, cp); 1462 &helper_mst, &helper_exp_cb, cp);
1463 else 1463 else
1464 { 1464 {
1465 char *remote_args[8]; 1465 char *remote_args[10];
1466 unsigned int argp; 1466 unsigned int argp;
1467 const char *username; 1467 const char *username;
1468 1468
@@ -1480,10 +1480,12 @@ GNUNET_TESTBED_controller_start (const char *controller_ip,
1480 remote_args[argp++] = cp->port; 1480 remote_args[argp++] = cp->port;
1481 remote_args[argp++] = "-o"; 1481 remote_args[argp++] = "-o";
1482 remote_args[argp++] = "BatchMode=yes"; 1482 remote_args[argp++] = "BatchMode=yes";
1483 remote_args[argp++] = "-o";
1484 remote_args[argp++] = "NoHostAuthenticationForLocalhost=yes";
1483 remote_args[argp++] = cp->dst; 1485 remote_args[argp++] = cp->dst;
1484 remote_args[argp++] = HELPER_TESTBED_BINARY_SSH; 1486 remote_args[argp++] = HELPER_TESTBED_BINARY_SSH;
1485 remote_args[argp++] = NULL; 1487 remote_args[argp++] = NULL;
1486 GNUNET_assert (argp == 8); 1488 GNUNET_assert (argp == 10);
1487 cp->helper = 1489 cp->helper =
1488 GNUNET_HELPER_start (GNUNET_NO, "ssh", remote_args, &helper_mst, 1490 GNUNET_HELPER_start (GNUNET_NO, "ssh", remote_args, &helper_mst,
1489 &helper_exp_cb, cp); 1491 &helper_exp_cb, cp);