diff options
author | Hans Nilsson <[email protected]> | 2017-02-02 14:29:55 +0100 |
---|---|---|
committer | Hans Nilsson <[email protected]> | 2017-02-02 14:29:55 +0100 |
commit | f10abe57f6d2e0bc0b46bdda8c6456ed0c72a3a9 (patch) | |
tree | 8abc29e455f9129d218c00cb30fb1a3dc7f73f50 /lib/ssh/test/ssh_key_cb.erl | |
parent | eb5e09ecede5a4639008772d8e4d951833a94951 (diff) | |
parent | 99a6fe8c485af3024731bbb6a5af9afac7a0045f (diff) | |
download | otp-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.erl | 4 |
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), |