←back to thread

Making TRAMP faster

(coredumped.dev)
226 points celeritascelery | 5 comments | | HN request time: 0.814s | source
1. julienchastang ◴[] No.44358128[source]
I use tramp all day every b/c I mostly work on remote VMs so it is an indispensable tool. Note that tramp will allow you to go inside docker containers on those remote hosts with:

/ssh:<remote host>|docker:<docker container>

Also if you like copying (potentially large) files via dired, consider temporarily

(setq tramp-default-method "rsync")

The blog talks about rsync vs ssh a bit.

replies(2): >>44363653 #>>44372549 #
2. zelphirkalt ◴[] No.44363653[source]
I don't understand what the blog post meant that rsync breaks the remote shell. Do you know what the author means? When would one want to use rsync and when scp?
replies(2): >>44367410 #>>44383687 #
3. julienchastang ◴[] No.44367410[source]
> When would one want to use rsync and when scp?

When moving large files.

> Do you know what the author means?

I am not sure, but I think you want ssh most of the time except when moving large files.

4. m463 ◴[] No.44372549[source]
It really changed my workflow with embedded linux stuff, like openwrt or raspberry pi. Instead of installing an editor on the remote system, you can use emacs on your powerful system and edit things like config files easily in a lightweight way.
5. celeritascelery ◴[] No.44383687[source]
I filed a bug report on that, and it is going to be fixed in the next Emacs release

https://lists.gnu.org/r/tramp-devel/2025-06/msg00001.html