]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
sshserver: disable StrictHostKeyChecking
authorDaniel Stenberg <daniel@haxx.se>
Thu, 25 Apr 2013 21:40:31 +0000 (23:40 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 25 Apr 2013 21:40:31 +0000 (23:40 +0200)
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.

tests/sshserver.pl

index 8bb8bcdcf4939f25f02612ce5f3a15d7b13b9a79..447305f91b927529c6156ca6278d4c6681f2cd42 100755 (executable)
@@ -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, '#';