scp file.txt remote_username@10.10.0.2:/remote/directory
Copy
scp -i <private_key> ./file.txt remote_username@remote_ip:/remote/directory
scp file.txt remote_username@10.10.0.2:/remote/directory/newfilename.txtCopied!
scp remote_username@10.10.0.2:/remote/file.txt /local/directory