scp tramsfer fle code example
Example 1: scp send file
scp ./file.txt remote_username@remote_ip:/remote/directory
Example 2: using scp
scp remote_username@10.10.0.2:/remote/file.txt /local/directory
scp ./file.txt remote_username@remote_ip:/remote/directory
scp remote_username@10.10.0.2:/remote/file.txt /local/directory