Searched refs:chost (Results 1 – 5 of 5) sorted by relevance
/external/openssh/ |
D | auth2-hostbased.c | 63 char *pkalg, *cuser, *chost, *service; in userauth_hostbased() local 75 chost = packet_get_string(NULL); in userauth_hostbased() 80 cuser, chost, pkalg, slen); in userauth_hostbased() 129 buffer_put_cstring(&b, chost); in userauth_hostbased() 136 "client user \"%.100s\", client host \"%.100s\"", cuser, chost); in userauth_hostbased() 140 if (PRIVSEP(hostbased_key_allowed(authctxt->pw, cuser, chost, key)) && in userauth_hostbased() 153 free(chost); in userauth_hostbased() 160 hostbased_key_allowed(struct passwd *pw, const char *cuser, char *chost, in hostbased_key_allowed() argument 175 chost, resolvedname, ipaddr); in hostbased_key_allowed() 177 if (((len = strlen(chost)) > 0) && chost[len - 1] == '.') { in hostbased_key_allowed() [all …]
|
D | auth-rh-rsa.c | 45 auth_rhosts_rsa_key_allowed(struct passwd *pw, char *cuser, char *chost, in auth_rhosts_rsa_key_allowed() argument 58 chost, _PATH_SSH_SYSTEM_HOSTFILE, in auth_rhosts_rsa_key_allowed() 71 char *chost; in auth_rhosts_rsa() local 81 chost = (char *)get_canonical_hostname(options.use_dns); in auth_rhosts_rsa() 82 debug("Rhosts RSA authentication: canonical host %.900s", chost); in auth_rhosts_rsa() 84 if (!PRIVSEP(auth_rhosts_rsa_key_allowed(pw, cuser, chost, client_host_key))) { in auth_rhosts_rsa() 94 chost); in auth_rhosts_rsa() 103 pw->pw_name, cuser, chost); in auth_rhosts_rsa()
|
D | monitor.c | 1191 char *cuser, *chost; in mm_answer_keyallowed() local 1201 chost = buffer_get_string(m, NULL); in mm_answer_keyallowed() 1238 cuser, chost, key); in mm_answer_keyallowed() 1241 cuser, chost); in mm_answer_keyallowed() 1249 cuser, chost, key); in mm_answer_keyallowed() 1272 hostbased_chost = chost; in mm_answer_keyallowed() 1278 free(chost); in mm_answer_keyallowed() 1358 char *chost) in monitor_valid_hostbasedblob() argument 1400 if (strcmp(p, chost) != 0) in monitor_valid_hostbasedblob()
|
D | mux.c | 945 char *reserved, *chost; in process_mux_stdio_fwd() local 950 chost = reserved = NULL; in process_mux_stdio_fwd() 952 (chost = buffer_get_string_ret(m, NULL)) == NULL || in process_mux_stdio_fwd() 955 free(chost); in process_mux_stdio_fwd() 962 __func__, c->self, chost, cport); in process_mux_stdio_fwd() 971 free(chost); in process_mux_stdio_fwd() 995 free(chost); in process_mux_stdio_fwd() 1002 chost, cport)) { in process_mux_stdio_fwd() 1018 nc = channel_connect_stdio_fwd(chost, cport, new_fd[0], new_fd[1]); in process_mux_stdio_fwd()
|
D | sshconnect2.c | 1586 char *fp = NULL, *chost = NULL, *lname = NULL; in userauth_hostbased() local 1653 xasprintf(&chost, "%s.", lname); in userauth_hostbased() 1654 debug2("%s: chost %s", __func__, chost); in userauth_hostbased() 1675 (r = sshbuf_put_cstring(b, chost)) != 0 || in userauth_hostbased() 1701 (r = sshpkt_put_cstring(ssh, chost)) != 0 || in userauth_hostbased() 1718 free(chost); in userauth_hostbased()
|