Lines Matching defs:host
476 /* we're asked to verify the host against a file */
479 struct libssh2_knownhost *host = NULL;
487 * A subject to figure out is what host name we need to pass in here.
488 * What host name does OpenSSH store in its file if an IDN name is
536 conn->host.name,
543 &host);
546 conn->host.name,
551 &host);
554 infof(data, "SSH host check: %d, key: %s", keycheck,
556 host->key:"<none>");
560 knownkey.key = host->key;
581 &foundkey, /* from the remote host */
600 /* remove old host+key that doesn't match */
601 if(host)
602 libssh2_knownhost_del(sshc->kh, host);
608 /* the found host+key didn't match but has been told to be fine
611 conn->host.name, NULL,
617 infof(data, "WARNING: adding the known host %s failed",
618 conn->host.name);
851 /* lets try to find our host in the known hosts file */
860 infof(data, "Invalid host pattern %s in %s",
868 conn->host.name, kh_name_size) == 0) {
874 else if(strcmp(store->name, conn->host.name) == 0) {
888 infof(data, "Found host %s in %s",
889 conn->host.name, data->set.str[STRING_SSH_KNOWNHOSTS]);
928 failf(data, "Found host key type RSA1 which is not supported");
931 failf(data, "Unknown host key type: %i",
948 infof(data, "Did not find host %s in %s",
949 conn->host.name, data->set.str[STRING_SSH_KNOWNHOSTS]);