Rsync using sudo via remote shell:
stty -echo; ssh myUser@REMOTE_SERVER/
 "sudo -v"; stty echo
then:
rsync -avze ssh --rsync-path='sudo rsync'/
 myUser@REMOTE_SERVER:/REMOTE_PATH/ LOCAL_PATH

- jim 8-26-2010 3:52 pm

Sorry, can't resist.
- mark 8-26-2010 7:41 pm


Love that one. FWIW I've found it doesn't work IRL.

- jim 8-26-2010 7:46 pm





add a comment to this page:

Your post will be captioned "posted by anonymous,"
or you may enter a guest username below:


Line breaks work. HTML tags will be stripped.