Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- rsync -avL --progress -e ssh -i ~/mykeypair.pem ~/Sites/my_site/* root@ec2-XX-XXX-XXX-XXX.us-west-2.compute.amazonaws.com:/var/www/html/
- rsync -avz ~/Sites/mysite/* -e "ssh -i ~/.ssh/id_rsa.pub" root@ec2-XX-XXX-XXX-XXX.us-west-2.compute.amazonaws.com:/var/www/html/
- ssh -i ~/path/mykeypair.pem
- ubuntu@ec2-XX-XXX-XXX-XXX.us-west-2.compute.amazonaws.com
- rsync -avL --progress -e "ssh -i /path/to/mykeypair.pem"
- ~/Sites/my_site/*
- root@ec2-XX-XXX-XXX-XXX.us-west-2.compute.amazonaws.com:/var/www/html/
- rsync -av --progress -e ssh /folder1/folder2/* root@xxx.xxx.xxx.xxx:/folder1/folder2
- #!/bin/bash
- RSYNC = /usr/bin/rsync
- $RSYNC [options] [source] [destination]
- ssh-keygen -t rsa
- sudo rsync -azvv -e "ssh -i /home/ubuntu/key-to-ec2.pem" ec2-user@xx.xxx.xxx.xx:/home/ec2-user/source/ /home/ubuntu/target/
- nohup rsync -zravu --partial --progress -e "ssh -i xxxx.pem" ubuntu@xx.xx.xx.xx:/mnt/data /mnt2/ &
- rsync -avz -e "ssh -i /path/to/key.pem" /path/to/file.txt <username>@<ip/domain>:/path/to/directory/
- rsync -avz -e "ssh -i /path/to/key.pem" <username>@<ip/domain>:/path/to/directory/file.txt /path/to/directory/
Add Comment
Please, Sign In to add comment