S E R V E R   S I D E
View current page
...more recent posts

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 [link] [2 comments]

older posts...