Searched refs:chost (Results 1 – 3 of 3) sorted by relevance
/titanic_50/usr/src/cmd/ssh/sshd/ |
H A D | auth2-hostbased.c | 62 char *pkalg, *cuser, *chost, *service; in userauth_hostbased() local 73 chost = packet_get_string(NULL); in userauth_hostbased() 78 cuser, chost, pkalg, slen); in userauth_hostbased() 114 buffer_put_cstring(&b, chost); in userauth_hostbased() 121 if (hostbased_key_allowed(authctxt->pw, cuser, chost, key) && in userauth_hostbased() 155 xfree(chost); in userauth_hostbased() 162 hostbased_key_allowed(struct passwd *pw, const char *cuser, char *chost, in hostbased_key_allowed() argument 173 chost, resolvedname, ipaddr); in hostbased_key_allowed() 179 if (auth_rhosts2(pw, cuser, chost, chost) == 0) in hostbased_key_allowed() 181 lookup = chost; in hostbased_key_allowed() [all …]
|
H A D | auth-rh-rsa.c | 34 auth_rhosts_rsa_key_allowed(struct passwd *pw, char *cuser, char *chost, in auth_rhosts_rsa_key_allowed() argument 44 chost, _PATH_SSH_SYSTEM_HOSTFILE, in auth_rhosts_rsa_key_allowed() 57 char *chost; in auth_rhosts_rsa() local 66 chost = (char *)get_canonical_hostname(options.verify_reverse_mapping); in auth_rhosts_rsa() 67 debug("Rhosts RSA authentication: canonical host %.900s", chost); in auth_rhosts_rsa() 69 if (!auth_rhosts_rsa_key_allowed(pw, cuser, chost, client_host_key)) { in auth_rhosts_rsa() 79 chost); in auth_rhosts_rsa() 88 pw->pw_name, cuser, chost); in auth_rhosts_rsa()
|
/titanic_50/usr/src/cmd/ssh/ssh/ |
H A D | sshconnect2.c | 1491 char *chost, *pkalg, *p; in userauth_hostbased() local 1529 chost = xmalloc(len); in userauth_hostbased() 1530 strlcpy(chost, p, len); in userauth_hostbased() 1531 strlcat(chost, ".", len); in userauth_hostbased() 1533 debug2("userauth_hostbased: chost %s, pkalg %s", chost, pkalg); in userauth_hostbased() 1544 buffer_put_cstring(&b, chost); in userauth_hostbased() 1559 xfree(chost); in userauth_hostbased() 1569 packet_put_cstring(chost); in userauth_hostbased() 1574 xfree(chost); in userauth_hostbased()
|