Lines Matching refs:authenticated
275 int r, authenticated = 0; in input_userauth_request() local
349 authenticated = m->userauth(ssh, method); in input_userauth_request()
351 if (!authctxt->authenticated && strcmp(method, "none") != 0) in input_userauth_request()
354 userauth_finish(ssh, authenticated, method, NULL); in input_userauth_request()
364 userauth_finish(struct ssh *ssh, int authenticated, const char *packet_method, in userauth_finish() argument
373 if (authenticated) { in userauth_finish()
387 if (authenticated && authctxt->pw->pw_uid == 0 && in userauth_finish()
389 authenticated = 0; in userauth_finish()
395 if (authenticated && options.num_auth_methods != 0) { in userauth_finish()
397 authenticated = 0; in userauth_finish()
403 auth_log(ssh, authenticated, partial, method, submethod); in userauth_finish()
406 if (authenticated || partial) in userauth_finish()
413 if (options.use_pam && authenticated) { in userauth_finish()
434 if (authenticated == 1) { in userauth_finish()
770 auth2_record_key(Authctxt *authctxt, int authenticated, in auth2_record_key() argument
781 if (!authenticated) in auth2_record_key()