tramp-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tramp (2.6.0.29.1 nil/nil); Tramp crashes when trying to authenticat


From: Michael Albinus
Subject: Re: tramp (2.6.0.29.1 nil/nil); Tramp crashes when trying to authenticate ssh with yubikey resident-key that requires user to enter FIDO2 PIN
Date: Sun, 28 Jan 2024 15:28:42 +0100
User-agent: Gnus/5.13 (Gnus v5.13)

coder.nova99@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.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]