[Top][All Lists]

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

bug#36015: 26.2; Tramp fails with "Invalid base64 data".

From: Asif
Subject: bug#36015: 26.2; Tramp fails with "Invalid base64 data".
Date: Fri, 31 May 2019 17:07:27 -0700

Hi Michael!

Thanks for your reply.
Turns out that I got rid of the "-vv" login args option for
the tramp method and it work fine now. I could not reproduce
the failure without the "-vv" login option. And yes I understood
your mentioning that tramp-gw-args is no long er support in
tramp 2.3 onwards. I just wanted to try to reproduce the failure
with incremental changes. Here is the tramp method I use. Essentially
the -2 option. Thanks for your help and time, Michael!

 (tramp-login-program "ssh")
   ("-l" "%u")
   ("-p" "%p")
   ("-e" "none")
 (tramp-remote-shell "/bin/sh")
  (("-o" "GlobalKnownHostsFile=/dev/null")
   ("-o" "UserKnownHostsFile=/dev/null")
   ("-o" "StrictHostKeyChecking=no")
   ("-o" "ForwardX11=yes")))
 (tramp-default-port 22))

On Fri, May 31, 2019 at 1:17 AM Michael Albinus <address@hidden> wrote:
Asif <address@hidden> writes:

Hi Asif,

> Procedure:
> C-x d
> /ssh2x11:address@hidden:/home/USERNAME/Projects/Koji/clearlinux/packages/systemd/results/
> g
> <Moved to the 5MB large file name.>
> <I get minibuffer message: Invalid base64 data>
> The same works perfectly for Emacs 25.2.2 Tramp:
> The same fails for Emacs: 26.2 Tramp:

First question: Could you try to reproduce it with "emacs -Q", and Tramp
method "ssh"?

> Tramp method used:
> ("ssh2x11"
>   (tramp-login-program "ssh")
>   (tramp-login-args
>    (("-2")
>     ("-vv")
>     ("-l" "%u")
>     ("-p" "%p")
>     ("%c")
>     ("-e" "none")
>     ("-X")
>     ("%h")))
>   (tramp-async-args
>    (("-q")))
>   (tramp-remote-shell "/bin/sh")
>   (tramp-remote-shell-login
>    ("-l"))
>   (tramp-remote-shell-args
>    ("-c"))
>   (tramp-gw-args
>    (("-o" "GlobalKnownHostsFile=/dev/null")
>     ("-o" "UserKnownHostsFile=/dev/null")
>     ("-o" "StrictHostKeyChecking=no")
>     ("-o" "ForwardX11=yes")))
>   (tramp-default-port 22))

tramp-gw-args do not exist any longer in Tramp 2.3 (Emacs 26), you can
remove them.

And you won't need your own method at all, if you declare "ForwardX11 yes"
in your ~/.ssh/config.

> Tramp debug capture:
> ;; Emacs: 26.2 Tramp: -*- mode: outline; -*-
> ;; tramp-verbose 4

Well, this doesn't give sufficient information. I would like to have
tramp-verbose 6 at least (or tramp-verbose 10 for everything).

And maybe you send the debug buffer as attachmnet? This would keep its
structure, which is better for reading.

Best regards, Michael.

reply via email to

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