Home
last modified time | relevance | path

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

/external/openssh/
Dauth2-hostbased.c63 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()
130 buffer_put_cstring(&b, chost); in userauth_hostbased()
137 "client user \"%.100s\", client host \"%.100s\"", cuser, chost); in userauth_hostbased()
141 if (PRIVSEP(hostbased_key_allowed(authctxt->pw, cuser, chost, key)) && in userauth_hostbased()
154 free(chost); in userauth_hostbased()
161 hostbased_key_allowed(struct passwd *pw, const char *cuser, char *chost, in hostbased_key_allowed() argument
176 chost, resolvedname, ipaddr); in hostbased_key_allowed()
178 if (((len = strlen(chost)) > 0) && chost[len - 1] == '.') { in hostbased_key_allowed()
[all …]
Dauth-rh-rsa.c45 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()
Dmonitor.c1191 char *cuser, *chost; in mm_answer_keyallowed() local
1201 chost = buffer_get_string(m, NULL); in mm_answer_keyallowed()
1237 cuser, chost, key); in mm_answer_keyallowed()
1240 cuser, chost); in mm_answer_keyallowed()
1248 cuser, chost, key); in mm_answer_keyallowed()
1271 hostbased_chost = chost; in mm_answer_keyallowed()
1277 free(chost); in mm_answer_keyallowed()
1357 char *chost) in monitor_valid_hostbasedblob() argument
1399 if (strcmp(p, chost) != 0) in monitor_valid_hostbasedblob()
Dmux.c928 char *reserved, *chost; in process_mux_stdio_fwd() local
933 chost = reserved = NULL; in process_mux_stdio_fwd()
935 (chost = buffer_get_string_ret(m, NULL)) == NULL || in process_mux_stdio_fwd()
938 free(chost); in process_mux_stdio_fwd()
945 __func__, c->self, chost, cport); in process_mux_stdio_fwd()
954 free(chost); in process_mux_stdio_fwd()
978 free(chost); in process_mux_stdio_fwd()
985 chost, cport)) { in process_mux_stdio_fwd()
1001 nc = channel_connect_stdio_fwd(chost, cport, new_fd[0], new_fd[1]); in process_mux_stdio_fwd()
Dsshconnect2.c1582 char *fp = NULL, *chost = NULL, *lname = NULL; in userauth_hostbased() local
1650 xasprintf(&chost, "%s.", lname); in userauth_hostbased()
1651 debug2("%s: chost %s", __func__, chost); in userauth_hostbased()
1672 (r = sshbuf_put_cstring(b, chost)) != 0 || in userauth_hostbased()
1698 (r = sshpkt_put_cstring(ssh, chost)) != 0 || in userauth_hostbased()
1715 free(chost); in userauth_hostbased()