Lines Matching defs:authenticated
274 int r, authenticated = 0;
346 authenticated = m->userauth(ssh, method);
348 if (!authctxt->authenticated && strcmp(method, "none") != 0)
351 userauth_finish(ssh, authenticated, method, NULL);
361 userauth_finish(struct ssh *ssh, int authenticated, const char *packet_method,
370 if (authenticated) {
372 fatal("INTERNAL ERROR: authenticated invalid user %s",
376 fatal("INTERNAL ERROR: authenticated and postponed");
384 if (authenticated && authctxt->pw->pw_uid == 0 &&
386 authenticated = 0;
392 if (authenticated && options.num_auth_methods != 0) {
394 authenticated = 0;
400 auth_log(ssh, authenticated, partial, method, submethod);
403 if (authenticated || partial)
410 if (options.use_pam && authenticated) {
431 if (authenticated == 1) {
718 auth2_record_key(Authctxt *authctxt, int authenticated,
729 if (!authenticated)
732 /* If authenticated, make sure we don't accept this key again */