[Top][All Lists]

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

Re: Dired command on same host

From: Manuel Giraud
Subject: Re: Dired command on same host
Date: Mon, 10 Jan 2022 17:16:00 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (berkeley-unix)

Michael Albinus <> writes:

> Manuel Giraud <> writes:
> Hi Manuel,
>>> What will it be good for? It copies also via your local tmp directory,
>>> doesn't it?
>> My intent was to use scp default "-3" behaviour when source and
>> destination are remote hosts. Why? Because this behaviour works without
>> filling up my local (small) /tmp directory whereas tramp does. I don't
>> know how it works but it seems that a "scp hostA:file hostB:" does not
>> use /tmp.
> Interesting. Honestly, I have no idea where the scp program buffers the
> local temp data. Perhaps it is better to use this, indeed.

Ok, I might have been too bleeding edge on ssh here.

If, I understand the following code correctly:

It seems that if mode is SFTP, the copy is done from one SFTP connection
to another directly. But, the default to SFTP mode was activated quite

And according this:, the
default is not SFTP yet in the last release of openssh. So maybe it
could be a method worth having for tramp in the future ;-)

Does a "scp hostA:fileA hostB:" creates a /tmp file on you side?
Manuel Giraud

reply via email to

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