aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssh/src
diff options
context:
space:
mode:
authorHans Nilsson <[email protected]>2017-05-24 15:11:03 +0200
committerHans Nilsson <[email protected]>2017-05-31 17:52:42 +0200
commitb4327e257147a64fc088d1448132f5794bad879f (patch)
treef1554cfef2fb532ffa5d91f58be49c80c8b64a9f /lib/ssh/src
parent9c4d91f4726ff84df8877fc6c73edcd116775a52 (diff)
downloadotp-b4327e257147a64fc088d1448132f5794bad879f.tar.gz
otp-b4327e257147a64fc088d1448132f5794bad879f.tar.bz2
otp-b4327e257147a64fc088d1448132f5794bad879f.zip
ssh: Change printouts for ssh_dbg:auth()
This reverts commit 4ee80fd8738393bf581e0393416befda1ca621b6.
Diffstat (limited to 'lib/ssh/src')
-rw-r--r--lib/ssh/src/ssh_dbg.erl5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/ssh/src/ssh_dbg.erl b/lib/ssh/src/ssh_dbg.erl
index 003b3856e6..d5d4ab04c3 100644
--- a/lib/ssh/src/ssh_dbg.erl
+++ b/lib/ssh/src/ssh_dbg.erl
@@ -136,12 +136,13 @@ msg_formater(_, {trace_ts,Pid,call,{ssh_transport,handle_hello_version,[Hello]},
msg_formater(_, {trace_ts,_Pid,return_from,{ssh_transport,handle_hello_version,1},_,_TS}, D) ->
D;
-msg_formater(_, {trace_ts,Pid,call,{ssh_connection_handler,ext_info,[{"server-sig-algs",_SigAlgs},State]},TS}, D) ->
+msg_formater(_, {trace_ts,Pid,call,{ssh_connection_handler,ext_info,[{"server-sig-algs",SigAlgs},State]},TS}, D) ->
try lists:keyfind(ssh, 1, tuple_to_list(State)) of
false ->
D;
#ssh{userauth_pubkeys = PKs} ->
- fmt("~n~s ~p Client got suggestion to use user public key sig-algs~n ~p~n", [ts(TS),Pid,PKs], D)
+ fmt("~n~s ~p Client got suggestion to use user public key sig-algs~n ~p~n and can use~n ~p~n",
+ [ts(TS),Pid,string:tokens(SigAlgs,","),PKs], D)
catch
_:_ ->
D