[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:
Hi,
> 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:
> Enter PASSCODE:
>
> 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 <http://www.gnu.org/software/tramp/#Remote-shell-setup>
> Thanks,
Best regards, Michael.