login as: root
Last login: Mon Nov 24 08:13:47 2008 from
Linux mirrior1.myserver.com 2.6.20-15-server #2 SMP Sun Apr 15 07:41:34 UTC 2007 i686
The programs included with the Ubuntu system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
root@mirrior1:~# rsync -avz --delete --exclude=**/stats --exclude=**/error --exclude=**/files/pictures -e "ssh -i /root/rsync/mirror-rsync-key" email@example.com:/var/www/ /var/www/
bash: /home/someuser/rsync/checkrsync: /bin/shcase: bad interpreter: No such file or directory
rsync: connection unexpectedly closed (0 bytes received so far) [receiver]
rsync error: remote command could not be run (code 126) at io.c(454) [receiver=2.6.9]
I was careful to run commands either as "someuser" or root as specified in the tutorial.