how to copy a file to own computer over ssh code example Example: ssh transfer file from local to remote scp file.txt [email protected]:/remote/directory