summaryrefslogtreecommitdiff
path: root/tests/sshserver.pl
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2013-04-25 23:40:31 +0200
committerDaniel Stenberg <daniel@haxx.se>2013-04-25 23:40:31 +0200
commit1498a0073ec45de6d81e01fc8eb52369b640f9e4 (patch)
tree4dcbbf8a6c63e43972d971a43f846139d422c2da /tests/sshserver.pl
parent27777949a09c362abc921d15a6260d42e99cd377 (diff)
downloadcurl-1498a0073ec45de6d81e01fc8eb52369b640f9e4.tar.gz
sshserver: disable StrictHostKeyChecking
I couldn't figure out why the host key logic isn't working, but having it set to yes prevents my SSH-based test cases to run. I also don't see a strong need to use strict host key checking on this test server. So I disabled it.
Diffstat (limited to 'tests/sshserver.pl')
-rwxr-xr-xtests/sshserver.pl7
1 files changed, 5 insertions, 2 deletions
diff --git a/tests/sshserver.pl b/tests/sshserver.pl
index 8bb8bcdcf..447305f91 100755
--- a/tests/sshserver.pl
+++ b/tests/sshserver.pl
@@ -6,7 +6,7 @@
# | (__| |_| | _ <| |___
# \___|\___/|_| \_\_____|
#
-# Copyright (C) 1998 - 2011, Daniel Stenberg, <daniel@haxx.se>, et al.
+# Copyright (C) 1998 - 2011, 2013, Daniel Stenberg, <daniel@haxx.se>, et al.
#
# This software is licensed as described in the file COPYING, which
# you should have received as part of this distribution. The terms
@@ -856,7 +856,10 @@ push @cfgarr, 'PreferredAuthentications publickey';
push @cfgarr, 'PubkeyAuthentication yes';
push @cfgarr, 'RhostsRSAAuthentication no';
push @cfgarr, 'RSAAuthentication no';
-push @cfgarr, 'StrictHostKeyChecking yes';
+
+# Disabled StrictHostKeyChecking since it makes the tests fail on my
+# OpenSSH_6.0p1 on Debian Linux / Daniel
+push @cfgarr, 'StrictHostKeyChecking no';
push @cfgarr, 'UsePrivilegedPort no';
push @cfgarr, '#';