aboutsummaryrefslogtreecommitdiff
path: root/src/util/test_socks.c
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 /src/util/test_socks.c
parent2af25b50fc8d589e2cb1b40bfc11cf1a7e70678d (diff)
downloadgnunet-572ed5a20edf2e273ae377473b52bfee98eca24e.tar.gz
gnunet-572ed5a20edf2e273ae377473b52bfee98eca24e.zip
Use SSH more safely from configure
Diffstat (limited to 'src/util/test_socks.c')
-rw-r--r--src/util/test_socks.c13
1 files changed, 6 insertions, 7 deletions
diff --git a/src/util/test_socks.c b/src/util/test_socks.c
index 5ca086ee1..97f614cd4 100644
--- a/src/util/test_socks.c
+++ b/src/util/test_socks.c
@@ -186,13 +186,12 @@ main (int argc, char *argv[])
186 if (pid == 0) 186 if (pid == 0)
187 { 187 {
188 execlp ("ssh", 188 execlp ("ssh",
189 "ssh", 189 "ssh","-D",socksport,
190 "-D", 190 "-o","BatchMode yes",
191 socksport, 191 "-o","UserKnownHostsFile /tmp/gnunet_test_socks_ssh_garbage",
192 "127.0.0.1", 192 "-o","StrictHostKeyChecking no",
193 "-N", 193 "127.0.0.1","-N",(char*)NULL);
194 NULL); 194 perror ("execlp (\"ssh\",\"ssh\",...,\"-D\",\"1081\",\"127.0.0.1\",\"-N\") ");
195 perror ("execlp (\"ssh\",\"ssh\",\"-D\",\"1081\",\"127.0.0.1\",\"-N\") ");
196 printf ("" 195 printf (""
197"Please ensure you have ssh installed and have sshd installed and running :\n" 196"Please ensure you have ssh installed and have sshd installed and running :\n"
198"\tsudo apt-get install openssh-client openssh-server\n" 197"\tsudo apt-get install openssh-client openssh-server\n"