[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: |
Mon, 03 Aug 2020 21:09:18 +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
<help-gnu-emacs@gnu.org> writes:
Hi Emanuel,
>> Let's try to control this. Pls eval the following:
>>
>> (add-to-list 'tramp-methods
>> `("myssh"
>> (tramp-login-program "ssh")
>> (tramp-login-args (("-l" "%u") ("-p" "%p") ("%c")
>> ("-e" "none") ("-t" "-t") ("%h")
>> ("\"%l -i\"")))
>> (tramp-async-args (("-q")))
>> (tramp-remote-shell ,tramp-default-remote-shell)
>> (tramp-remote-shell-login ("-l"))
>> (tramp-remote-shell-args ("-c"))))
>
> I don't have any `tramp-default-remote-shell' :(
>
> Only:
>
> tramp-default-host
> tramp-default-host-alist
> tramp-default-method
> tramp-default-method-alist
> tramp-default-method-marker
> tramp-default-proxies-alist
> tramp-default-user
> tramp-default-user-alist
Ah, right. You use an older Tramp version. 2.3.3.26.1, you've said it.
So you might try instead
--8<---------------cut here---------------start------------->8---
(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"))))
--8<---------------cut here---------------end--------------->8---
Btw, another test worth a try would be to use method "sshx" instead of
"ssh". Does this make a difference?
Best regards, Michael.
- Re: Tramp prompt (?) issue, Michael Albinus, 2020/08/01
- Re: Tramp prompt (?) issue, Emanuel Berg, 2020/08/01
- Re: Tramp prompt (?) issue, Emanuel Berg, 2020/08/01
- Re: Tramp prompt (?) issue, Michael Albinus, 2020/08/01
- Re: Tramp prompt (?) issue, Emanuel Berg, 2020/08/02
- Re: Tramp prompt (?) issue, Emanuel Berg, 2020/08/03
- Re: Tramp prompt (?) issue, Michael Albinus, 2020/08/03
- Re: Tramp prompt (?) issue, Emanuel Berg, 2020/08/03
- Re: Tramp prompt (?) issue,
Michael Albinus <=
- Re: Tramp prompt (?) issue, Emanuel Berg, 2020/08/03
- Re: Tramp prompt (?) issue, Michael Albinus, 2020/08/04
- Re: Tramp prompt (?) issue, Emanuel Berg, 2020/08/16
- Re: Tramp prompt (?) issue, Michael Albinus, 2020/08/17
- Re: Tramp prompt (?) issue, Emanuel Berg, 2020/08/17
- Re: Tramp prompt (?) issue, tomas, 2020/08/18
- Re: Tramp prompt (?) issue, Emanuel Berg, 2020/08/18
- Re: Tramp prompt (?) issue, tomas, 2020/08/18
- Re: Tramp prompt (?) issue, Michael Albinus, 2020/08/18
- Re: Tramp prompt (?) issue, Emanuel Berg, 2020/08/18