scp remote server code example Example: scp to remote server scp ./file.txt remote_username@remote_ip:/remote/directory