using scp to copy from remote to local code example
Example: scp local to remote
scp -i <private_key> ./file.txt remote_username@remote_ip:/remote/directory
scp -i <private_key> ./file.txt remote_username@remote_ip:/remote/directory