Scp

From wiki
Revision as of 00:12, 12 November 2023 by Hdridder (talk | contribs) (Created page with "Secure copy, copy using ssh. ;<nowiki>scp <file> <user>@<server>:<location></nowiki> :copy <file> to <location> at <server> ;<nowiki>scp -3 <userA>@<serverA>:<fileA> <userB>...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Secure copy, copy using ssh.

scp <file> <user>@<server>:<location>
copy <file> to <location> at <server>
scp -3 <userA>@<serverA>:<fileA> <userB>@<serverB>:<fileB>
From a third system copy from <systemA> to <systemB>. Use this if there is no connection between systemA and systemB and and the local system does have access to both