diff options
author | Hans Nilsson <[email protected]> | 2015-12-03 15:56:03 +0100 |
---|---|---|
committer | Hans Nilsson <[email protected]> | 2015-12-03 17:24:01 +0100 |
commit | 1a6c8b90416e261b0429bbcc253347ce9fbac5ea (patch) | |
tree | 3220e8b5875471dd7a0e2a3a326607c560f650e2 /lib/ssh/src/ssh_auth.erl | |
parent | 8abb84f324d6302d720545ffd3955f524a38c219 (diff) | |
download | otp-1a6c8b90416e261b0429bbcc253347ce9fbac5ea.tar.gz otp-1a6c8b90416e261b0429bbcc253347ce9fbac5ea.tar.bz2 otp-1a6c8b90416e261b0429bbcc253347ce9fbac5ea.zip |
ssh: client pub key opt implemented
Diffstat (limited to 'lib/ssh/src/ssh_auth.erl')
-rw-r--r-- | lib/ssh/src/ssh_auth.erl | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/ssh/src/ssh_auth.erl b/lib/ssh/src/ssh_auth.erl index 4967a2e4cd..0d38c563ba 100644 --- a/lib/ssh/src/ssh_auth.erl +++ b/lib/ssh/src/ssh_auth.erl @@ -118,11 +118,7 @@ init_userauth_request_msg(#ssh{opts = Opts} = Ssh) -> service = "ssh-connection", method = "none", data = <<>>}, - - - Algs = proplists:get_value(public_key, - proplists:get_value(preferred_algorithms, Opts, []), - ssh_transport:default_algorithms(public_key)), + Algs = proplists:get_value(pref_public_key_algs, Opts, ?SUPPORTED_USER_KEYS), Prefs = method_preference(Algs), ssh_transport:ssh_packet(Msg, Ssh#ssh{user = User, userauth_preference = Prefs, |