Skip to content

Instantly share code, notes, and snippets.

@BenjaminVerble
Last active June 6, 2017 18:25
Show Gist options
  • Save BenjaminVerble/34b04a10ea2dca9054c2186b0a204901 to your computer and use it in GitHub Desktop.
Save BenjaminVerble/34b04a10ea2dca9054c2186b0a204901 to your computer and use it in GitHub Desktop.
rsync single file over ssh
# https://www.digitalocean.com/community/tutorials/how-to-copy-files-with-rsync-over-ssh
# modified slightly
rsync -avz -e "ssh -o StrictHostKeyChecking=no" --progress ~/Desktop/test.txt username@10.2.3.456:~/Desktop/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment