Variable: tramp-security-key-confirm-regexp

tramp-security-key-confirm-regexp is a customizable variable defined in tramp.el.gz.

Value

"^
*Confirm user presence for key .*[
\n]*"

Documentation

Regular expression matching security key confirmation message.

The regexp should match at end of buffer.

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

Source Code

;; Defined in /usr/src/emacs/lisp/net/tramp.el.gz
;; A security key requires the user physically to touch the device
;; with their finger.  We must tell it to the user.
;; Added in OpenSSH 8.2.  I've tested it with yubikey.
(defcustom tramp-security-key-confirm-regexp
  "^\r*Confirm user presence for key .*[\r\n]*"
  "Regular expression matching security key confirmation message.
The regexp should match at end of buffer."
  :version "28.1"
  :type 'regexp)