transfer file from external server to local computer code example
Example 1: using scp
scp [email protected]:/remote/file.txt /local/directory
Example 2: scp send file to remote
dragonmnl@local $ scp -P 2222 file.ext username@domain:~/
scp [email protected]:/remote/file.txt /local/directory
dragonmnl@local $ scp -P 2222 file.ext username@domain:~/