Variable: tramp-otp-password-prompt-regexp

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

Value

"\\(?:^.*\\(\\(?:\\(?:TACC Token C\\|Verification c\\)ode\\)\\).*[:៖︓﹕:][[: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 30.2.

Source Code

;; Defined in /usr/src/emacs/lisp/net/tramp.el.gz
(defcustom tramp-otp-password-prompt-regexp
  (rx-to-string
   `(: bol (* nonl)
       (group (|
	 ;; JumpCloud.  Google Authenticator.
	 "Verification code"
	 ;; TACC HPC.  <https://docs.tacc.utexas.edu/basics/mfa/>
	 "TACC Token Code"))
       (* nonl) (any . ,tramp-compat-password-colon-equivalents) (* blank)))
  "Regexp matching one-time password prompts.
The regexp should match at end of buffer."
  :version "30.2"
  :type 'regexp
  :link '(tramp-info-link :tag "Tramp manual" tramp-otp-password-prompt-regexp))