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