[Top][All Lists]

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

Re: Tramp prompt (?) issue

From: Michael Albinus
Subject: Re: Tramp prompt (?) issue
Date: Tue, 04 Aug 2020 08:59:15 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Emanuel Berg via Users list for the GNU Emacs text editor
<> writes:

>> (add-to-list 'tramp-methods
>>   '("myssh"
>>     (tramp-login-program        "ssh")
>>     (tramp-login-args           (("-l" "%u") ("-p" "%p") ("%c")
>>                               ("-e" "none") ("-t" "-t") ("%h")
>>                                  ("\"/bin/sh -i\"")))
>>     (tramp-async-args           (("-q")))
>>     (tramp-remote-shell         "/bin/sh")
>>     (tramp-remote-shell-login   ("-l"))
>>     (tramp-remote-shell-args    ("-c"))))
>> Btw, another test worth a try would be to use
>> method "sshx" instead of "ssh". Does this make
>> a difference?
> Unfortunately no, both result in these messages:
>   Tramp: Opening connection for using myssh...
>   Tramp: Sending command ‘exec ssh -l embe8573 -o ControlMaster=auto
> -o ControlPath='tramp.%C' -o ControlPersist=no -e none -t -t
> "/bin/sh -i"’
>   Tramp: Waiting for prompts from remote shell...
>   Tramp: Sending Password
>   Tramp: Waiting for prompts from remote shell...done
>   Tramp: Found remote shell prompt on ‘’
>   Tramp: Opening connection for using myssh...failed
>   tramp-file-name-handler: ‘tramp-histfile-override’ uses invalid file
> ‘~/.tramp_history’

But this is progress! Pls produce a debug file, and show me. And if both
approaches behave similar, take "sshx".

Best regards, Michael.

reply via email to

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