Re: [EXT] Re: one-time password prompt
Michael Albinus <[email protected]> Sun, 22 Sep 2024 09:49:05 +0200
| Newsgroups | gmane.emacs.tramp |
|---|---|
| Message-ID | <[email protected]> |
"Bivens, Trace" <[email protected]> writes: Hi Trace, > 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. Good. > The otp prompt on this system is “TACC Token Code:”. OK. Please evaluate in your *scratch* buffer, after Loading Tramp, the following form: --8<---------------cut here---------------start------------->8--- (setq tramp-otp-password-prompt-regexp (rx-to-string `(: bol (* nonl) (group (| "Verification code" "TACC Token Code")) (* nonl) (any . ,tramp-compat-password-colon-equivalents) (* blank)))) --8<---------------cut here---------------end--------------->8--- Try your test, again, and report whether it works. If it doesn't work, evaluate also in *scratch' --8<---------------cut here---------------start------------->8--- (setq tramp-verbose 6) --8<---------------cut here---------------end--------------->8--- Run the test, again. There will be a Tramp debug buffer *debug tramp/ssh user@host*, which I'd like to see. Please send it as mail attachment, the formatting of these data counts. Btw: What's the name of the OTP server software? I'd like to add a comment to the Tramp sources. > Many thanks! > > Trace >> [You don't often get email from [email protected]. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ] :-) Best regards, Michael.