Lines Matching refs:cuser
65 char *pkalg, *cuser, *chost; in userauth_hostbased() local
74 (r = sshpkt_get_cstring(ssh, &cuser, NULL)) != 0 || in userauth_hostbased()
79 cuser, chost, pkalg, slen); in userauth_hostbased()
132 (r = sshbuf_put_cstring(b, cuser)) != 0) in userauth_hostbased()
139 "client user \"%.100s\", client host \"%.100s\"", cuser, chost); in userauth_hostbased()
143 if (PRIVSEP(hostbased_key_allowed(authctxt->pw, cuser, chost, key)) && in userauth_hostbased()
155 free(cuser); in userauth_hostbased()
163 hostbased_key_allowed(struct passwd *pw, const char *cuser, char *chost, in hostbased_key_allowed() argument
187 if (auth_rhosts2(pw, cuser, chost, chost) == 0) { in hostbased_key_allowed()
190 __func__, cuser, chost); in hostbased_key_allowed()
199 if (auth_rhosts2(pw, cuser, resolvedname, ipaddr) == 0) { in hostbased_key_allowed()
202 __func__, cuser, resolvedname, ipaddr); in hostbased_key_allowed()
236 cuser, lookup); in hostbased_key_allowed()
242 sshkey_type(key), fp, cuser, lookup); in hostbased_key_allowed()