Variable: tramp-yesno-prompt-regexp

tramp-yesno-prompt-regexp is a customizable variable defined in tramp.el.gz.

Value

"\\(Are you sure you want to continue connecting (yes/no\\(?:\\(?:/\\[fingerprint]\\)?)\\?\\)\\)\\s-*"

Documentation

Regular expression matching all yes/no queries which need to be confirmed.

The confirmation should be done with yes or no. The regexp should match at end of buffer. See also tramp-yn-prompt-regexp.

Source Code

;; Defined in /usr/src/emacs/lisp/net/tramp.el.gz
(defcustom tramp-yesno-prompt-regexp
  (concat
   (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.
The regexp should match at end of buffer.
See also `tramp-yn-prompt-regexp'."
  :type 'regexp)