From: Asif <asif.haswarey@gmail.com>
To: Michael Albinus <michael.albinus@gmx.de>
Cc: 36015@debbugs.gnu.org
Subject: bug#36015: 26.2; Tramp fails with "Invalid base64 data".
Date: Fri, 31 May 2019 17:07:27 -0700 [thread overview]
Message-ID: <CAOzwu7d=bFMrVCMT9ZR-=1vFPhF-2ZX6hJbvYEiVqfCrXT1fRQ@mail.gmail.com> (raw)
In-Reply-To: <875zprghqt.fsf@gmx.de>
[-- Attachment #1: Type: text/plain, Size: 2776 bytes --]
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!
("ssh2x11"
(tramp-login-program "ssh")
(tramp-login-args
(("-2")
("-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))
_
Asif
On Fri, May 31, 2019 at 1:17 AM Michael Albinus <michael.albinus@gmx.de>
wrote:
> Asif <asif.haswarey@gmail.com> writes:
>
> Hi Asif,
>
> > Procedure:
> >
> > C-x d
> > /ssh2x11:USERNAME@HOSTNAME
> :/home/USERNAME/Projects/Koji/clearlinux/packages/systemd/results/
> >
> > g
> > <Moved to the 5MB large file name.>
> > RET
> > <I get minibuffer message: Invalid base64 data>
> >
> > The same works perfectly for Emacs 25.2.2 Tramp: 2.2.13.25.2
> > The same fails for Emacs: 26.2 Tramp: 2.3.5.26.2
>
> 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: 2.3.5.26.2 -*- 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.
>
[-- Attachment #2: Type: text/html, Size: 5261 bytes --]
next prev parent reply other threads:[~2019-06-01 0:07 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-05-30 20:06 bug#36015: 26.2; Tramp fails with "Invalid base64 data" Asif
2019-05-31 8:17 ` Michael Albinus
2019-06-01 0:07 ` Asif [this message]
2019-06-01 7:53 ` 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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAOzwu7d=bFMrVCMT9ZR-=1vFPhF-2ZX6hJbvYEiVqfCrXT1fRQ@mail.gmail.com' \
--to=asif.haswarey@gmail.com \
--cc=36015@debbugs.gnu.org \
--cc=michael.albinus@gmx.de \
/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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.