summaryrefslogtreecommitdiff
path: root/src/util/test_socks.c
diff options
context:
space:
mode:
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"