🔑scp
Also known as scp Command, Secure Copy, Secure Copy Protocol
A command that copies a file to or from a server. It goes over SSH.
Think of it like
Think of it like posting one parcel through a locked chute. It lands on the far side, and that is it.
Example
Emma needs one report on her server. She types one scp line, and the file is there a second later.
Why it matters
Definition
Example code
bash
scp report.pdf emma@203.0.113.10:/home/emma/Common mistake
Key takeaways
- 1Over SSH. Same login, same keys.
- 2Whole file. Copies all of it each time.
- 3Mind the colon. It marks the far side.