copy file using scp in linux code example Example: using scp scp [email protected]:/remote/file.txt /local/directory