version 1.347, 2020/10/03 08:12:59 |
version 1.348, 2020/10/07 02:22:23 |
|
|
debug("%s: wildcard known hosts name found, " |
debug("%s: wildcard known hosts name found, " |
"skipping UserKnownHostsFile update", __func__); |
"skipping UserKnownHostsFile update", __func__); |
goto out; |
goto out; |
} else if (sshkey_type_is_cert(ssh->kex->hostkey_type) && |
|
ctx->ca_available && |
|
(ssh->kex->flags & KEX_HOSTCERT_CONVERT) == 0) { |
|
debug("%s: server offered certificate host key, " |
|
"skipping UserKnownHostsFile update", __func__); |
|
goto out; |
|
} else if (ctx->nnew == 0 && ctx->nold != 0) { |
} else if (ctx->nnew == 0 && ctx->nold != 0) { |
/* We have some keys to remove. Just do it. */ |
/* We have some keys to remove. Just do it. */ |
update_known_hosts(ctx); |
update_known_hosts(ctx); |