anchor.diff:  				    proplists:get_value(password, Opts, undefined), IoCb, Name,
   				    Instr, PromptInfos, Opts, NumPrompts).
   
  +
  +keyboard_interact_get_responses(_, _, not_ok, _, _, _, _, _, _) ->
  +    not_ok;
   keyboard_interact_get_responses(_, undefined, Password, _, _, _, _, _,
   				1) when Password =/= undefined ->
       [Password]; %% Password auth implemented with keyboard-interaction and passwd is known
  
positive.code: 				  description = ErrStr})
      end.
  
  userauth_request_msg(#ssh{userauth_preference = []} = Ssh) ->    
      Msg = #ssh_msg_disconnect{code = 
  			      ?SSH_DISCONNECT_NO_MORE_AUTH_METHODS_AVAILABLE,
  			      description = "Unable to connect using the available"
  			      " authentication methods",
  			      language = "en"},
      {disconnect, Msg, ssh_transport:ssh_packet(Msg, Ssh)};
  
  userauth_request_msg(#ssh{userauth_methods = Methods, 
  			  userauth_preference = [{Pref, Module,
  					      Function, Args} | Prefs]} 
  		     = Ssh0) ->
      Ssh = Ssh0#ssh{userauth_preference = Prefs},
      case lists:member(Pref, Methods) of
  	true ->
  	    case Module:Function(Args ++ [Ssh]) of
  		not_ok ->
  		    userauth_request_msg(Ssh);
  		Result ->
  		    {Pref,Result}
  	    end;
  	false ->
  	    userauth_request_msg(Ssh)
      end.
  
  
  handle_userauth_request(#ssh_msg_service_request{name = 
  						 Name = "ssh-userauth"},
  			_, Ssh) ->
      {ok, ssh_transport:ssh_packet(#ssh_msg_service_accept{name = Name},
  				  Ssh#ssh{service = "ssh-connection"})};
  
negative.code: 		      Ssh)
  	    end;
       	_Error ->
  	    {not_ok, Ssh}
      end.
  
  %%%----------------------------------------------------------------
  service_request_msg(Ssh) ->
      ssh_transport:ssh_packet(#ssh_msg_service_request{name = "ssh-userauth"},
  			   Ssh#ssh{service = "ssh-userauth"}).
  
  %%%----------------------------------------------------------------
  init_userauth_request_msg(#ssh{opts = Opts} = Ssh) ->
      case user_name(Opts) of
  	{ok, User} ->
  