scp files to remote machine code example
Example 1: copy from remote to local
scp file.txt [email protected]:/remote/directory
Example 2: scp send file to remote
dragonmnl@local $ scp -P 2222 file.ext username@domain:~/
scp file.txt [email protected]:/remote/directory
dragonmnl@local $ scp -P 2222 file.ext username@domain:~/