|
|
Log in / Subscribe / Register

Deprecating scp

Deprecating scp

Posted Jan 25, 2021 12:17 UTC (Mon) by mbunkus (subscriber, #87248)
In reply to: Deprecating scp by tconnors
Parent article: Deprecating scp

You can approximate "scp -3" with ssh & tar, without having to use tunnels or anything else, as in:

ssh host1 "tar czf - /path /other/path" | ssh host2 "tar xzfC - /"


to post comments

Deprecating scp

Posted Feb 5, 2021 19:39 UTC (Fri) by flussence (guest, #85566) [Link]

One could cobble something together with rsync and sshfs (on the sender or both endpoints), which might work out faster if it's a partial copy. It's a bit of a shame rsync doesn't support this mode of operation directly.


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds