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()
138 (r = sshbuf_put_cstring(b, cuser)) != 0) in userauth_hostbased()
145 "client user \"%.100s\", client host \"%.100s\"", cuser, chost); in userauth_hostbased()
149 if (mm_hostbased_key_allowed(ssh, authctxt->pw, cuser, in userauth_hostbased()
162 free(cuser); in userauth_hostbased()
171 const char *cuser, char *chost, struct sshkey *key) in hostbased_key_allowed() argument
193 if (auth_rhosts2(pw, cuser, chost, chost) == 0) { in hostbased_key_allowed()
195 "host \"%.100s\" (from packet)", cuser, chost); in hostbased_key_allowed()
204 if (auth_rhosts2(pw, cuser, resolvedname, ipaddr) == 0) { in hostbased_key_allowed()
207 cuser, resolvedname, ipaddr); in hostbased_key_allowed()
241 cuser, lookup); in hostbased_key_allowed()
247 sshkey_type(key), fp, cuser, lookup); in hostbased_key_allowed()