←back to thread

Making TRAMP faster

(coredumped.dev)
226 points celeritascelery | 1 comments | | HN request time: 0.203s | source
Show context
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 #
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 #
1. 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.