Lines Matching refs:ssh
62 userauth_hostbased(struct ssh *ssh, const char *method) in userauth_hostbased() argument
64 Authctxt *authctxt = ssh->authctxt; in userauth_hostbased()
73 if ((r = sshpkt_get_cstring(ssh, &pkalg, &alen)) != 0 || in userauth_hostbased()
74 (r = sshpkt_get_string(ssh, &pkblob, &blen)) != 0 || in userauth_hostbased()
75 (r = sshpkt_get_cstring(ssh, &chost, NULL)) != 0 || in userauth_hostbased()
76 (r = sshpkt_get_cstring(ssh, &cuser, NULL)) != 0 || in userauth_hostbased()
77 (r = sshpkt_get_string(ssh, &sig, &slen)) != 0) in userauth_hostbased()
132 if ((r = sshbuf_put_stringb(b, ssh->kex->session_id)) != 0 || in userauth_hostbased()
151 if (mm_hostbased_key_allowed(ssh, authctxt->pw, cuser, in userauth_hostbased()
154 sshbuf_ptr(b), sshbuf_len(b), pkalg, ssh->compat, NULL) == 0) in userauth_hostbased()
172 hostbased_key_allowed(struct ssh *ssh, struct passwd *pw, in hostbased_key_allowed() argument
183 resolvedname = auth_get_canonical_hostname(ssh, options.use_dns); in hostbased_key_allowed()
184 ipaddr = ssh_remote_ipaddr(ssh); in hostbased_key_allowed()