connect to windows share automatically and rsync

view full story

http://askubuntu.com – I have a Western Digital connected to my router at statically. How can I automatically connect at login and rsync? At the moment I am using this command that doesn't work. rsync -Paz /home/chris/ but I get this ssh: connect to host port 22: Connection refused rsync: connection unexpectedly closed (0 bytes received so far) [sender] rsync error: unexplained error (code 255) at io.c(605) [sender=3.0.9] This screenshot of the Western Digital MyBookWorld control panel might help https://dl.dropbox.com/u/2423935/wd.png EDIT: I updated the c (HowTos)