help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Dired command on same host


From: Michael Albinus
Subject: Re: Dired command on same host
Date: Tue, 11 Jan 2022 09:29:37 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Yuri Khan <yuri.v.khan@gmail.com> writes:

>> Interesting. Honestly, I have no idea where the scp program buffers the
>> local temp data. Perhaps it is better to use this, indeed.
>
> Why would it have to buffer it anywhere? I can imagine it allocating a
> megabyte (or eight) of RAM, opening two network connections, then
> reading from one and writing to the other.

Perhaps. And perhaps, Tramp shall check and apply "-3" if
possible. Since OpenSSH 8.7, there seem to be more restrictions wrt
authentication. Quoting the man page:

--8<---------------cut here---------------start------------->8---
    -3      Copies between two remote hosts are transferred through the lo‐
             cal host.  Without this option the data is copied directly be‐
             tween the two remote hosts.  Note that, when using the legacy
             SCP protocol (the default), this option selects batch mode for
             the second host as scp cannot ask for passwords or passphrases
             for both hosts.  This mode is the default.
--8<---------------cut here---------------end--------------->8---



reply via email to

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