Home
last modified time | relevance | path

Searched refs:chost (Results 1 – 5 of 5) sorted by relevance

/external/openssh/
Dauth2-hostbased.c61 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 (PRIVSEP(hostbased_key_allowed(authctxt->pw, cuser, chost, key)) && in userauth_hostbased()
134 xfree(chost); in userauth_hostbased()
141 hostbased_key_allowed(struct passwd *pw, const char *cuser, char *chost, in hostbased_key_allowed() argument
156 chost, resolvedname, ipaddr); in hostbased_key_allowed()
158 if (((len = strlen(chost)) > 0) && chost[len - 1] == '.') { in hostbased_key_allowed()
159 debug2("stripping trailing dot from chost %s", chost); in hostbased_key_allowed()
[all …]
Dauth-rh-rsa.c42 auth_rhosts_rsa_key_allowed(struct passwd *pw, char *cuser, char *chost, in auth_rhosts_rsa_key_allowed() argument
55 chost, _PATH_SSH_SYSTEM_HOSTFILE, in auth_rhosts_rsa_key_allowed()
68 char *chost; in auth_rhosts_rsa() local
78 chost = (char *)get_canonical_hostname(options.use_dns); in auth_rhosts_rsa()
79 debug("Rhosts RSA authentication: canonical host %.900s", chost); in auth_rhosts_rsa()
81 if (!PRIVSEP(auth_rhosts_rsa_key_allowed(pw, cuser, chost, client_host_key))) { in auth_rhosts_rsa()
91 chost); in auth_rhosts_rsa()
100 pw->pw_name, cuser, chost); in auth_rhosts_rsa()
Dmux.c828 char *reserved, *chost; in process_mux_stdio_fwd() local
832 chost = reserved = NULL; in process_mux_stdio_fwd()
834 (chost = buffer_get_string_ret(m, NULL)) == NULL || in process_mux_stdio_fwd()
838 if (chost != NULL) in process_mux_stdio_fwd()
839 xfree(chost); in process_mux_stdio_fwd()
846 __func__, c->self, chost, cport); in process_mux_stdio_fwd()
855 xfree(chost); in process_mux_stdio_fwd()
879 xfree(chost); in process_mux_stdio_fwd()
886 chost, cport)) { in process_mux_stdio_fwd()
902 nc = channel_connect_stdio_fwd(chost, cport, new_fd[0], new_fd[1]); in process_mux_stdio_fwd()
Dsshconnect2.c1657 char *chost, *pkalg, *p; in userauth_hostbased() local
1688 xasprintf(&chost, "%s.", p); in userauth_hostbased()
1689 debug2("userauth_hostbased: chost %s", chost); in userauth_hostbased()
1704 buffer_put_cstring(&b, chost); in userauth_hostbased()
1719 xfree(chost); in userauth_hostbased()
1730 packet_put_cstring(chost); in userauth_hostbased()
1735 xfree(chost); in userauth_hostbased()
Dmonitor.c1121 char *cuser, *chost; in mm_answer_keyallowed() local
1131 chost = buffer_get_string(m, NULL); in mm_answer_keyallowed()
1154 cuser, chost, key); in mm_answer_keyallowed()
1161 cuser, chost, key); in mm_answer_keyallowed()
1183 hostbased_chost = chost; in mm_answer_keyallowed()
1189 xfree(chost); in mm_answer_keyallowed()
1265 char *chost) in monitor_valid_hostbasedblob() argument
1303 if (strcmp(p, chost) != 0) in monitor_valid_hostbasedblob()