Created
October 8, 2019 16:05
-
-
Save marvin-marvin/007967443f71053c3e5052dca3b2836a to your computer and use it in GitHub Desktop.
rsync with ssh key
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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