scp to send file to remote machine code example Example: scp send file to remote dragonmnl@local $ scp -P 2222 file.ext username@domain:~/