Index | Thread | Search

From:
Jason McIntyre <jmc@kerhand.co.uk>
Subject:
Re: man scp confusion
To:
tech@openbsd.org
Date:
Mon, 14 Apr 2025 06:42:25 +0100

Download raw body.

Thread
On Tue, Apr 08, 2025 at 09:18:20PM +0300, Mikhail wrote:
>    man scp says:
>    -3 Copies between two remote hosts are transferred through the local
>    host.  Without this option the data is copied directly between the two
>    remote hosts.  Note that, when using the legacy SCP protocol (via the
>    -O flag), 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.
>    I understand "This mode is the default" as that your copies will be
>    through your host (meaning I donât need to pass -3 - it is default),
>    but if so, how do I get different behavior, where files being copied
>    directly between two remote hosts? Man page says "without this option",
>    but how can I not pass it if it is âdefaultâ?
> 
>    Not native speaker.Â

hi. thanks for the mail. a fix has been committed.
jmc