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,
if (pid == 0)
{
execlp ("ssh",
- "ssh",
- "-D",
- socksport,
- "127.0.0.1",
- "-N",
- NULL);
- perror ("execlp (\"ssh\",\"ssh\",\"-D\",\"1081\",\"127.0.0.1\",\"-N\") ");
+ "ssh","-D",socksport,
+ "-o","BatchMode yes",
+ "-o","UserKnownHostsFile /tmp/gnunet_test_socks_ssh_garbage",
+ "-o","StrictHostKeyChecking no",
+ "127.0.0.1","-N",(char*)NULL);
+ perror ("execlp (\"ssh\",\"ssh\",...,\"-D\",\"1081\",\"127.0.0.1\",\"-N\") ");
printf (""
"Please ensure you have ssh installed and have sshd installed and running :\n"
"\tsudo apt-get install openssh-client openssh-server\n"