Variable: tramp-otp-password-prompt-regexp

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

Value

"^.*\\(Verification code\\).*[:៖:][[:blank:]]*"

Documentation

Regexp matching one-time password prompts.

The regexp should match at end of buffer.

This variable was added, or its default value changed, in Emacs 29.2.

Source Code

;; Defined in /usr/src/emacs/lisp/net/tramp.el.gz
(defcustom tramp-otp-password-prompt-regexp
  (rx bol (* nonl)
      ;; JumpCloud.
      (group (| "Verification code"))
      (* nonl) (any "::៖") (* blank))
  "Regexp matching one-time password prompts.
The regexp should match at end of buffer."
  :version "29.2"
  :type 'regexp)