From 5f2b4d267bef24a6104479e434ed8c6cbb877fbc Mon Sep 17 00:00:00 2001 From: Michael Albinus Date: Mon, 23 Sep 2024 16:52:01 +0200 Subject: [PATCH] Extend tramp-otp-password-prompt-regexp * lisp/net/tramp.el (tramp-otp-password-prompt-regexp): Add TACC HPC prompt. (cherry picked from commit 40e0257b1084b0243b5fcc972068fbce41fd9629) --- lisp/net/tramp.el | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) 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)) -- 2.39.5