coder.nov...@mailbox.org writes: > Sorry for the delay! Here's the output > > ssh server ...
Thanks, that helps. Tramp 2.6.2 (Emacs 29.2) supports already OTP input, as it would be appropriate for the PIN. However, it doesn't know the PIN prompt as used by Yubikey yet. Could you pls install first Tramp 2.6.2.0 from GNU ELPA? This is a little bit problematic, because Emacs 29.1 has a bug which prevents installation of Tramp from GNU ELPA. See <https://elpa.gnu.org/packages/tramp.html> for mitigation instructions. On top, pls install this patch:
diff --git a/lisp/tramp.el b/lisp/tramp.el index bd556753..a97d8e37 100644 --- a/lisp/tramp.el +++ b/lisp/tramp.el @@ -688,7 +688,7 @@ The `sudo' program appears to insert a `^@' character into the prompt." (defcustom tramp-otp-password-prompt-regexp (rx bol (* nonl) ;; JumpCloud. - (group (| "Verification code")) + (group (| "Verification code" "Enter PIN")) (* nonl) (any "::៖") (* blank)) "Regexp matching one-time password prompts. The regexp should match at end of buffer."
After recompilation of tramp.el, it should work. Unfortunately, I cannot test locally, so I'm waiting for your response. Best regards, Michael.