Variable: tramp-antispoof-regexp
tramp-antispoof-regexp is a customizable variable defined in
tramp.el.gz.
Value
"Access granted\\. Press Return to begin session\\. "
Documentation
Regular expression matching plink's anti-spoofing message.
The regexp should match at end of buffer.
This variable was added, or its default value changed, in Emacs 27.1.
Source Code
;; Defined in /usr/src/emacs/lisp/net/tramp.el.gz
;; Plink 0.71 has added an additional anti-spoofing prompt after
;; authentication. This could be discarded with the argument
;; "-no-antispoof". However, since we don't know which PuTTY
;; version is installed, we must react interactively.
(defcustom tramp-antispoof-regexp
(regexp-quote "Access granted. Press Return to begin session. ")
"Regular expression matching plink's anti-spoofing message.
The regexp should match at end of buffer."
:version "27.1"
:type 'regexp)