scp
This command copies a file from your machine over SSH to a remote machine. Quotation marks are included to escape the folder name that has a space in it. Add -rp if you need to copy a directory:
-
r means recursive
-
p preserves modification times, access times, and modes from the original file
scp -rp /path/to/file-or-directory/ username@%hostname%:"/path\ to/destination"