unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Michael Albinus <michael.albinus@gmx.de>
To: help-gnu-emacs@gnu.org
Subject: Re: Tramp prompt (?) issue
Date: Mon, 03 Aug 2020 21:09:18 +0200	[thread overview]
Message-ID: <87mu3bo8bl.fsf@gmx.de> (raw)
In-Reply-To: <87a6zbpuy5.fsf@ebih.ebihd> (Emanuel Berg via Users list for the's message of "Mon, 03 Aug 2020 18:15:14 +0200")

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.



  reply	other threads:[~2020-08-03 19:09 UTC|newest]

Thread overview: 42+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-29  0:22 Tramp prompt (?) issue Emanuel Berg via Users list for the GNU Emacs text editor
2020-07-29  9:22 ` Michael Albinus
2020-07-29 16:38   ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-07-29 18:18     ` Michael Albinus
2020-07-29 20:23       ` Tim Visher
2020-07-29 22:00       ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-07-29 22:23         ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-07-30  9:51           ` Michael Albinus
2020-07-30 11:54             ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-07-30 18:18               ` Michael Albinus
2020-07-31 19:57                 ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-07-31 21:46                   ` 2QdxY4RzWzUUiLuE
2020-07-31 22:20                     ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-08-01  9:36                   ` Michael Albinus
2020-08-01  9:50                     ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-08-01 10:02                       ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-08-01 18:23                         ` Michael Albinus
2020-08-02 17:23                           ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-08-03  9:11                             ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-08-03 14:15                               ` Michael Albinus
2020-08-03 16:15                                 ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-08-03 19:09                                   ` Michael Albinus [this message]
2020-08-03 20:37                                     ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-08-04  6:59                                       ` Michael Albinus
2020-08-17  1:00                                         ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-08-17 11:28                                           ` Michael Albinus
2020-08-17 21:51                                             ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-08-18  8:18                                               ` tomas
2020-08-18 10:37                                                 ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-08-18 14:06                                                   ` tomas
2020-08-18 16:49                                                     ` Michael Albinus
2020-08-18 17:04                                                       ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-08-18 17:05                                                       ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-08-18 17:46                                                         ` Michael Albinus
2020-08-18  8:59                                               ` Michael Albinus
2020-08-18 17:12                                                 ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-08-18 17:49                                                   ` Michael Albinus
2020-09-03  3:02                                                     ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-09-03  3:08                                                       ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-09-03  3:14                                                         ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-09-07 19:43                                                           ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-09-12 18:01                                                             ` Michael Albinus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87mu3bo8bl.fsf@gmx.de \
    --to=michael.albinus@gmx.de \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).