Stéphane Senesi <[email protected]> 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. _______________________________________________ Tramp-devel mailing list [email protected] https://lists.gnu.org/mailman/listinfo/tramp-devel
