Where to put the SSH login info in rsync command?
Solution 1:
run:
rsync -avz user@remoteMachine:/home/user/public_html /home/user/public_html
Solution 2:
rsync -urltv -e ssh user@remote:public_html /home/user/public_html
run:
rsync -avz user@remoteMachine:/home/user/public_html /home/user/public_html
rsync -urltv -e ssh user@remote:public_html /home/user/public_html