disabling local-to-local transfers?
Jochen Bern
Jochen.Bern at binect.de
Mon Jul 27 20:16:04 AEST 2026
Am 26.07.26 um 09:20 schrieb Philipp Marek:
> Yeah, [scp] just runs the "cp" binary with a few options
> [for a local-to-local transfer]
... indeed. Translation: The local-to-local case already is its own,
separate code path, and providing a kill switch for it shouldn't be more
difficult than adding a new CLI option "--refuse-local-copy".
Or, seeing the mention of xattrs getting lost, maybe an option
"--local-copy-helper /usr/local/bin/my_xattr_aware_cp" would be even
more versatile ... ?
Kind regards,
--
Jochen Bern
Systemingenieur
Binect GmbH
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4336 bytes
Desc: Kryptografische S/MIME-Signatur
URL: <http://lists.mindrot.org/pipermail/openssh-unix-dev/attachments/20260727/321861db/attachment-0001.p7s>
More information about the openssh-unix-dev
mailing list