copy the file from desktop to remote using scp code example Example: scp to remote server scp ./file.txt remote_username@remote_ip:/remote/directory