aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssh/test/ssh_key_cb.erl
diff options
context:
space:
mode:
authorHans Nilsson <[email protected]>2017-02-02 14:29:55 +0100
committerHans Nilsson <[email protected]>2017-02-02 14:29:55 +0100
commitf10abe57f6d2e0bc0b46bdda8c6456ed0c72a3a9 (patch)
tree8abc29e455f9129d218c00cb30fb1a3dc7f73f50 /lib/ssh/test/ssh_key_cb.erl
parenteb5e09ecede5a4639008772d8e4d951833a94951 (diff)
parent99a6fe8c485af3024731bbb6a5af9afac7a0045f (diff)
downloadotp-f10abe57f6d2e0bc0b46bdda8c6456ed0c72a3a9.tar.gz
otp-f10abe57f6d2e0bc0b46bdda8c6456ed0c72a3a9.tar.bz2
otp-f10abe57f6d2e0bc0b46bdda8c6456ed0c72a3a9.zip
Merge branch 'hans/ssh/default_algo_list/OTP-14110'
Diffstat (limited to 'lib/ssh/test/ssh_key_cb.erl')
-rw-r--r--lib/ssh/test/ssh_key_cb.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ssh/test/ssh_key_cb.erl b/lib/ssh/test/ssh_key_cb.erl
index 388ec2ecc1..12ff79efcd 100644
--- a/lib/ssh/test/ssh_key_cb.erl
+++ b/lib/ssh/test/ssh_key_cb.erl
@@ -33,9 +33,9 @@ add_host_key(_, _, _) ->
is_host_key(_, _, _, _) ->
true.
-user_key('ssh-dss', Opts) ->
+user_key('ssh-rsa', Opts) ->
UserDir = proplists:get_value(user_dir, Opts),
- KeyFile = filename:join(filename:dirname(UserDir), "id_dsa"),
+ KeyFile = filename:join(filename:dirname(UserDir), "id_rsa"),
{ok, KeyBin} = file:read_file(KeyFile),
[Entry] = public_key:pem_decode(KeyBin),
Key = public_key:pem_entry_decode(Entry),