help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Tramp prompt (?) issue


From: Emanuel Berg
Subject: Re: Tramp prompt (?) issue
Date: Mon, 03 Aug 2020 22:37:35 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)

Michael Albinus wrote:

> (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 embe8573@polhem.it.uu.se using myssh...
  Tramp: Sending command ‘exec ssh -l embe8573  -o ControlMaster=auto -o 
ControlPath='tramp.%C' -o ControlPersist=no -e none -t -t polhem.it.uu.se 
"/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 ‘polhem.it.uu.se’
  Tramp: Opening connection for embe8573@polhem.it.uu.se using myssh...failed
  tramp-file-name-handler: ‘tramp-histfile-override’ uses invalid file 
‘~/.tramp_history’

https://dataswamp.org/~incal/emacs-init/tramp-my.el

-- 
underground experts united
http://user.it.uu.se/~embe8573
https://dataswamp.org/~incal




reply via email to

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