Re: Separate default method for multi-hop files

"J.D. Smith" <[email protected]> Fri, 02 Jan 2026 11:35:13 -0500
Newsgroups gmane.emacs.tramp
Message-ID <[email protected]>
Michael Albinus <[email protected]> writes:

> Tramp doesn't offer such a user option. But thinking about, I come back
> to an old idea slumbering on my TODO: Make external methods (like scp,
> rsync) multi-hop capable.
>
> It shouldn't be too hard. As you know, Tramp distinguishes between
> inline and external methods, like ssh and scp. The major difference is
> copying large files, which is performed by the scp command. For
> everything else, both use the same code.
>
> In theory, it should be possible to add another check for external Tramp
> methods: If they are used inside a multi-hop connection, don't use the
> external command. Then, they should behave identically.

That sounds like a better plan indeed!