* lisp/net/tramp.el (tramp-yesno-prompt-regexp): Extend.

This commit is contained in:
Michael Albinus 2019-05-16 08:36:33 +02:00
parent 9a74e5666b
commit 88cc910abe

View file

@ -606,7 +606,10 @@ The regexp should match at end of buffer."
(defcustom tramp-yesno-prompt-regexp
(concat
(regexp-opt '("Are you sure you want to continue connecting (yes/no)?") t)
(regexp-opt
'("Are you sure you want to continue connecting (yes/no)?"
"Are you sure you want to continue connecting (yes/no/[fingerprint])?")
t)
"\\s-*")
"Regular expression matching all yes/no queries which need to be confirmed.
The confirmation should be done with yes or no.