aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorJeff Burdges <burdges@gnunet.org>2015-10-27 11:12:14 +0000
committerJeff Burdges <burdges@gnunet.org>2015-10-27 11:12:14 +0000
commit572ed5a20edf2e273ae377473b52bfee98eca24e (patch)
tree755a09517b700fcd565fd776db21947eedab3e5c /configure.ac
parent2af25b50fc8d589e2cb1b40bfc11cf1a7e70678d (diff)
Use SSH more safely from configure
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index f1a30ead21..3f625f1d59 100644
--- a/configure.ac
+++ b/configure.ac
@@ -202,6 +202,7 @@ AM_CONDITIONAL(HAVE_GETOPT_BINARY, $VAR_GETOPT_BINARY)
AC_CHECK_PROG(VAR_SSH_BINARY,ssh,true,false)
AM_CONDITIONAL(HAVE_SSH_BINARY, $VAR_SSH_BINARY)
+AM_CONDITIONAL(HAVE_SSH_KEY, ssh -D 12345 -o "BatchMode yes" -o "UserKnownHostsFile /tmp/gnunet_test_cosks_ssh_garbage" -o "StrictHostKeyChecking no" 127.0.0.1 echo -n)
AC_CHECK_MEMBER(struct tm.tm_gmtoff,