tramp-devel
[Top][All Lists]
Advanced

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

Re: How to configure my bastion ?


From: Michael Albinus
Subject: Re: How to configure my bastion ?
Date: Wed, 02 May 2012 14:55:19 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux)

Stéphane Senesi <address@hidden> writes:

> Dear all,

Hi Stéphane,

first of all: Which Emacs and Tramp versions are you running?

> My gentle network administrator provided me with bastion that can work
> in two ways :
>     1- either by typing "ssh -l my_account bastion", in which case I
> am provided with a menu for choosing among a limited list of hosts.
> After the choice, I am directly prompted with the password on the
> chosen remote host
>     2- or by typing "ssh -l my_account bastion remote_host", in which
> case I am directly prompted with the password on that host
>
>   - then trying case 1, I tried to customize the
> 'tramp-actions-before-shell to process the sequence where I am
> prompted with a menu, but quickly realized that
> tramp-actions-before-shell do address the prompting which occur after
> password prompting.

Not only. Show the menu you are prompted with; maybe we could construct
a proper action.

>     - again with case 2, I also tried to configure my ~/.ssh/config
> file to provide for the bastion a "User:" field which is a combined
> string including both "my_account bastion" and "remote_host" (because
> this is what works on the interactive ssh ), but ssh client then
> either considers that my config file is garbled (if I put double
> quotes around both strings) or take the whole string as the user name
> on the bastion (which of course won't work)

For this case (and the one without configuring ~/.ssh/config) I would
like to see the Tramp debug buffer, after setting tramp-verbose to 6.

> Thanks for any help
>
> Here follows my code for method "wab"
>
> Best regards
> S

Best regards, Michael.



reply via email to

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