SCP for linux code example
Example 1: using scp
scp [email protected]:/remote/file.txt /local/directory
Example 2: scp use
sudo scp -i "key.pem" file.txt [email protected]:myfolder/
scp [email protected]:/remote/file.txt /local/directory
sudo scp -i "key.pem" file.txt [email protected]:myfolder/