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] [[[email protected]]host:] file_or_dir [[[email protected]]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?