[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [EXT] Re: one-time password prompt
From: |
Bivens, Trace |
Subject: |
Re: [EXT] Re: one-time password prompt |
Date: |
Sat, 21 Sep 2024 19:23:59 +0000 |
I was using 29.1 with doom on an m1 MacBook. I tried to figure out how to apply
the patch that I found in another thread but wasn’t quite smart/experienced
enough to know where to put it. I’m currently working on getting 29.4 up and
running; I think I can probably figure it out from there. The otp prompt on
this system is “TACC Token Code:”.
Many thanks!
Trace
Sent from my iPhone
> On Sep 21, 2024, at 2:18 AM, Michael Albinus <michael.albinus@gmx.de> wrote:
>
> [You don't often get email from michael.albinus@gmx.de. Learn why this is
> important at https://aka.ms/LearnAboutSenderIdentification ]
>
> "Bivens, Trace" <RobertBivens@my.unt.edu> writes:
>
>> Hi,
>
> Hi Trace,
>
>> Sorry if this is the wrong place to ask this, and it may just be due
>> to me being an emacs noob, but I’ve already looked everywhere I can
>> think of for a clear answer and i’m stumped. I’m trying to use tramp
>> to remote into a cluster; I have ssh-keys set up, so it gets past the
>> password prompt just fine, but then it hangs on the second prompt for
>> the otp code. How can I tell emacs that I want to see that prompt and
>> respond to it?
>
> Tramp supports OTP since version 2.6.2 (Emacs 29.2). Which Emacs/Tramp
> version do you use?
>
> If your Tramp version isn't good enough, you might install recent Tramp
> 2.7.1.2 from GNU ELPA.
>
> Note also, that Tramp must know how the OTP prompt looks like. There is
> the user option tramp-otp-password-prompt-regexp, which currently has
> the value "\\(?:^.*\\(Verification code\\).*[:៖︓﹕:][[:blank:]]*\\)".
> Does this match your use case? If not, please tell us how your OTP
> prompt looks like; we'll add it then.
>
>> Trace
>
> Best regards, Michael.