fuse over ssh rocks, as we all know. It allows you to mount remote filesystems anywhere you reach with SCP or SSH. But wait – there’s more!
Run commands on the filesystems of hosts you don’t control
I needed to use rsync on a host I don’t control (godaddy, in this case). So I used fuse to remotely mount the godaddy filesystem and then used rsync to do a local copy.
sshfs -C godaddyuser at godaddyhostname.org:/var/... ~/godaddy/ rsync -auvz --delete-excluded ~/godaddy/ ~/godaddy-copy/
I also created a git repo on that remote godaddy fuse mount – I feel naked without source control.
cd ~/godaddy/ && git init
just like working directly on the machine – except slower because of the network overhead.