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