Home | History | Annotate | Download | only in openssh

Lines Matching refs:chost

61 	char *pkalg, *cuser, *chost, *service;
73 chost = packet_get_string(NULL);
77 debug("userauth_hostbased: cuser %s chost %s pkalg %s slen %d",
78 cuser, chost, pkalg, slen);
114 buffer_put_cstring(&b, chost);
121 if (PRIVSEP(hostbased_key_allowed(authctxt->pw, cuser, chost, key)) &&
134 xfree(chost);
141 hostbased_key_allowed(struct passwd *pw, const char *cuser, char *chost,
155 debug2("userauth_hostbased: chost %s resolvedname %s ipaddr %s",
156 chost, resolvedname, ipaddr);
158 if (((len = strlen(chost)) > 0) && chost[len - 1] == '.') {
159 debug2("stripping trailing dot from chost %s", chost);
160 chost[len - 1] = '\0';
164 if (auth_rhosts2(pw, cuser, chost, chost) == 0)
166 lookup = chost;
168 if (strcasecmp(resolvedname, chost) != 0)
171 chost, ipaddr, resolvedname);