anchor.diff:      error_logger:error_report(Report),
       "Internal error".
   
  +not_connected_filter({connection_reply, _Data}) ->
  +    true;
  +not_connected_filter(_) ->
  +    false.
  +
   send_replies([], State) ->
       State;
   send_replies([{connection_reply, Data} | Rest], #state{ssh_params = Ssh0} = State) ->
  
positive.code: 	    undefined ->
  		State0
  	end,
      {reply, ok, StateName, next_packet(State)};
  
  handle_sync_event(stop, _, _StateName, #state{connection_state = Connection0,
  					     role = Role,
  					     opts = Opts} = State0) ->
      {disconnect, Reason, {{replies, Replies}, Connection}} =
  	ssh_connection:handle_msg(#ssh_msg_disconnect{code = ?SSH_DISCONNECT_BY_APPLICATION,
  						      description = "User closed down connection",
  						      language = "en"}, Connection0, Role),
      State = send_replies(Replies, State0),
      SSHOpts = proplists:get_value(ssh_opts, Opts),
      disconnect_fun(Reason, SSHOpts),
      {stop, normal, ok, State#state{connection_state = Connection}}.
  
  %%--------------------------------------------------------------------
  -spec handle_info({atom(), port(), binary()} | {atom(), port()} |
  
negative.code: 
  new_keys(#ssh_msg_newkeys{} = Msg, #state{ssh_params = Ssh0} = State0) ->
      {ok, Ssh} = ssh_transport:handle_new_keys(Msg, Ssh0),
      after_new_keys(next_packet(State0#state{ssh_params = Ssh})).
  
  %%--------------------------------------------------------------------
  -spec userauth(#ssh_msg_service_request{} | #ssh_msg_service_accept{} |
  