aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHans Nilsson <[email protected]>2016-04-14 14:00:24 +0200
committerHans Nilsson <[email protected]>2016-04-29 13:17:52 +0200
commit076cdc73631cc46b250f69cedd30fcabaec3d044 (patch)
tree76febf126ad0dbfaeee040f641864b3cc7d4c18a
parentc806547ce48744319ffc84d99e4635af83d6ebf9 (diff)
downloadotp-076cdc73631cc46b250f69cedd30fcabaec3d044.tar.gz
otp-076cdc73631cc46b250f69cedd30fcabaec3d044.tar.bz2
otp-076cdc73631cc46b250f69cedd30fcabaec3d044.zip
ssh: force publickey in some tests in ssh_algoritms_SUITE
-rw-r--r--lib/ssh/test/ssh_algorithms_SUITE.erl3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/ssh/test/ssh_algorithms_SUITE.erl b/lib/ssh/test/ssh_algorithms_SUITE.erl
index bdc980e65c..90527cc8ed 100644
--- a/lib/ssh/test/ssh_algorithms_SUITE.erl
+++ b/lib/ssh/test/ssh_algorithms_SUITE.erl
@@ -365,7 +365,8 @@ start_std_daemon(Opts, Config) ->
ct:log("started ~p:~p ~p",[Host,Port,Opts]),
[{srvr_pid,Pid},{srvr_addr,{Host,Port}} | Config].
-start_pubkey_daemon(Opts, Config) ->
+start_pubkey_daemon(Opts0, Config) ->
+ Opts = [{auth_methods,"publickey"}|Opts0],
{Pid, Host, Port} = ssh_test_lib:std_daemon1(Config, Opts),
ct:log("started1 ~p:~p ~p",[Host,Port,Opts]),
[{srvr_pid,Pid},{srvr_addr,{Host,Port}} | Config].