aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorHans Nilsson <[email protected]>2016-04-14 13:52:03 +0200
committerHans Nilsson <[email protected]>2016-04-29 13:17:52 +0200
commitf6f2e1dd44b8de44f9a6420ab9ca8b358674caee (patch)
tree81503f414e8a7c8176acf872c210fc00ae9887dc /lib
parent076cdc73631cc46b250f69cedd30fcabaec3d044 (diff)
downloadotp-f6f2e1dd44b8de44f9a6420ab9ca8b358674caee.tar.gz
otp-f6f2e1dd44b8de44f9a6420ab9ca8b358674caee.tar.bz2
otp-f6f2e1dd44b8de44f9a6420ab9ca8b358674caee.zip
ssh: disable StrictHostKeyChecking in sshc_simple_exec test case
The lack of this caused problems on some Windows machines
Diffstat (limited to 'lib')
-rw-r--r--lib/ssh/test/ssh_algorithms_SUITE.erl4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/ssh/test/ssh_algorithms_SUITE.erl b/lib/ssh/test/ssh_algorithms_SUITE.erl
index 90527cc8ed..2e43399a5b 100644
--- a/lib/ssh/test/ssh_algorithms_SUITE.erl
+++ b/lib/ssh/test/ssh_algorithms_SUITE.erl
@@ -226,7 +226,9 @@ sshc_simple_exec(Config) ->
KnownHosts = filename:join(PrivDir, "known_hosts"),
{Host,Port} = ?config(srvr_addr, Config),
Cmd = lists:concat(["ssh -p ",Port,
- " -C -o UserKnownHostsFile=",KnownHosts,
+ " -C",
+ " -o UserKnownHostsFile=",KnownHosts,
+ " -o StrictHostKeyChecking=no",
" ",Host," 1+1."]),
ct:log("~p",[Cmd]),
SshPort = open_port({spawn, Cmd}, [binary]),