Rolando Pereira <[email protected]> writes: > Hello,
Hi, > I need to connect to a server X that I can only connect after > connecting to another server Y first. > > As I understand from reading the documentation, I can do multi-hops > using proxies. The problem is that the Y server has a weird shell that > only accepts the following commands: > ssh, telnet, who, last, passwd, help, version, quit, exit, and logout > > So when tramp trys to run > tramp-open-connection-setup-interactive-shell and send the string > "exec env ENV='' PROMPT_COMMAND='' PS1='$ ' PS2='' PS3='' %s" it > hangs. > > If I try to change that string to "ssh X", it works, but since the > shell at Y can't add the server key to the known_hosts file, I have to > type and addicional "yes" (because of the "Are you sure you want to > continue connecting (yes/no)?") plus send the password again. You should only need to send the "ssh X" command. The handling of the "Are you sure ..." dialogue shall happen via `tramp-process-actions'. Which Tramp/Emacs versions are you using? Could you, please, send me the traces with level 6? Best regards, Michael. _______________________________________________ Tramp-devel mailing list [email protected] http://lists.gnu.org/mailman/listinfo/tramp-devel
