Scp

From wiki
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