[Top][All Lists]

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

Re: Using tramp with 2 factor auth

From: Michael Albinus
Subject: Re: Using tramp with 2 factor auth
Date: Fri, 13 May 2011 13:16:19 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

Jason Stelzer <address@hidden> writes:


> I'd like to use tramp through our bastion host. However, tramp doesn't
> seem to quite know what to do about the second prompt. For machines
> that are local, it works as one would expect.
> I need to log into a box with ssh on a nonstandard port and public key
> auth disabled. I need to use my password + an rsa token. The prompts
> end up looking like this.
> Password:
> As you'd expect, tramp does the right thing wth the first prompt. I
> just need to figure out how to get it to allow me to input my rsa key
> for the second prompt.

There is a variable `tramp-password-prompt-regexp'. You could enter
"PASSCODE" to that regular expression.

See also discussion at <>

> Thanks,

Best regards, Michael.

reply via email to

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