scp command is used to securely copy a file to or from a remote destination. If the file is in current working directly only filename is sufficient else full path is required which included the remote hostname e.g. remote_user@some_server.org:/path/to/file
scp localfile.txt /home/friend/share/
scp [email protected]:/home/rocky/game/data.txt ./
scp [email protected]:/beacon/light/bitmap.conf [email protected]:/beacon/night/
scp -r [email protected]:~/project/* ./workspace/