Simple SCP notes
SCP: Copies files over the network securely; uses ssh for data transfer, using the same authentication and providing the same security as ssh.
Using:
scp [-p] [-v] [-r] [[username@]host:] file_or_dir [[username@]host:]file_or_dir
- Putting:
scp mydata.dat [email protected]:Newname.dat
scp -r FileFolder [email protected]:/home/
- Gettiing:
scp [email protected]:remote.data /home/local.dat
scp -r [email protected]:FileFolder /home/
Was this page helpful?