diff --git a/ssh/common.c b/ssh/common.c index a1b4d77d..02bf7322 100644 --- a/ssh/common.c +++ b/ssh/common.c @@ -1023,6 +1023,12 @@ SeatPromptResult verify_ssh_host_key( text, SDT_PARA, "If you trust this host, %s to add the key to " "%s's cache and carry on connecting.", pds->hk_accept_action, appname); + if (key && ssh_key_alg(key)->is_certificate) { + seat_dialog_text_append( + text, SDT_PARA, "(Storing this certified key in the cache " + "will NOT cause its certification authority to be trusted " + "for any other key or host.)"); + } seat_dialog_text_append( text, SDT_PARA, "If you want to carry on connecting just once, " "without adding the key to the cache, %s.",