The scp command with examples: copy files over SSH
Linux basicsFor beginnersabout 5 min
scp copies files over an SSH connection — encrypted, with the same credentials as your login, and without an additional service on the server. This guide shows the commands for common use cases, each with an example to copy.