Skip to content

Instantly share code, notes, and snippets.

@marvin-marvin
Created October 8, 2019 16:05
Show Gist options
  • Save marvin-marvin/007967443f71053c3e5052dca3b2836a to your computer and use it in GitHub Desktop.
Save marvin-marvin/007967443f71053c3e5052dca3b2836a to your computer and use it in GitHub Desktop.
rsync with ssh key
# rsync with ssh key
rsync -avx -e "ssh -i /root/key -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null" --progress /root/* TARGET:/root/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment