diff options
author | Hans Nilsson <[email protected]> | 2017-05-24 15:11:03 +0200 |
---|---|---|
committer | Hans Nilsson <[email protected]> | 2017-05-31 17:52:42 +0200 |
commit | b4327e257147a64fc088d1448132f5794bad879f (patch) | |
tree | f1554cfef2fb532ffa5d91f58be49c80c8b64a9f | |
parent | 9c4d91f4726ff84df8877fc6c73edcd116775a52 (diff) | |
download | otp-b4327e257147a64fc088d1448132f5794bad879f.tar.gz otp-b4327e257147a64fc088d1448132f5794bad879f.tar.bz2 otp-b4327e257147a64fc088d1448132f5794bad879f.zip |
ssh: Change printouts for ssh_dbg:auth()
This reverts commit 4ee80fd8738393bf581e0393416befda1ca621b6.
-rw-r--r-- | lib/ssh/src/ssh_dbg.erl | 5 |
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 |