scp file from code example
Example 1: scp send file
scp ./file.txt remote_username@remote_ip:/remote/directory
Example 2: scp file download
scp [email protected]:filename.zip ~/Desktop/
scp ./file.txt remote_username@remote_ip:/remote/directory
scp [email protected]:filename.zip ~/Desktop/