Alan.Brown
February 29th, 2012, 03:42 AM
I have two computers each running Xubuntu. I have full read/write file sharing using Dolphin and Thunar - with Samba.
I now want to use rsync to sync the files from one directory on the first computer to the second.
I have tried rsync but had problems. The host name of the first computer is HP and on the other is ASUS. The directory I am copying from is /Common/Documents and the destination is /home/user/Share. Both directories are set to share.
rsync -auv --progress /Common/Documents ASUS:/Share
ssh: connect to host ASUS port 22: Connection refused
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: unexplained error (code 255) at io.c(601) [sender=3.0.8]
rsync -auv --progress /Common/Documents ASUS:/home/user/Share
ssh: connect to host ASUS port 22: Connection refused
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: unexplained error (code 255) at io.c(601) [sender=3.0.8]
I get the same errors when using sudo.
rsync works OK on each computer without using the network.
Any help please
TIA
Alan
I now want to use rsync to sync the files from one directory on the first computer to the second.
I have tried rsync but had problems. The host name of the first computer is HP and on the other is ASUS. The directory I am copying from is /Common/Documents and the destination is /home/user/Share. Both directories are set to share.
rsync -auv --progress /Common/Documents ASUS:/Share
ssh: connect to host ASUS port 22: Connection refused
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: unexplained error (code 255) at io.c(601) [sender=3.0.8]
rsync -auv --progress /Common/Documents ASUS:/home/user/Share
ssh: connect to host ASUS port 22: Connection refused
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: unexplained error (code 255) at io.c(601) [sender=3.0.8]
I get the same errors when using sudo.
rsync works OK on each computer without using the network.
Any help please
TIA
Alan