From: Michael Albinus Date: Mon, 23 Sep 2024 14:52:01 +0000 (+0200) Subject: Extend tramp-otp-password-prompt-regexp X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=5f2b4d267bef24a6104479e434ed8c6cbb877fbc;p=emacs.git Extend tramp-otp-password-prompt-regexp * lisp/net/tramp.el (tramp-otp-password-prompt-regexp): Add TACC HPC prompt. (cherry picked from commit 40e0257b1084b0243b5fcc972068fbce41fd9629) --- diff --git a/lisp/net/tramp.el b/lisp/net/tramp.el index d8302b159f6..6d1cee041e6 100644 --- a/lisp/net/tramp.el +++ b/lisp/net/tramp.el @@ -700,12 +700,15 @@ The `sudo' program appears to insert a `^@' character into the prompt." (defcustom tramp-otp-password-prompt-regexp (rx-to-string `(: bol (* nonl) - ;; JumpCloud. - (group (| "Verification code")) + (group (| + ;; JumpCloud. + "Verification code" + ;; TACC HPC. + "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 "29.2" + :version "30.2" :type 'regexp :link '(tramp-info-link :tag "Tramp manual" tramp-otp-password-prompt-regexp))