Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I want to rsync between two computers on my LAN with IP-adresses and both running Ubuntu 10.10.

I want to try rsync and ssh service between the two computers.

share|improve this question
You should probably have a look at rsync.samba.org/documentation.html ;) –  sakjur Feb 20 '12 at 10:16

1 Answer 1

up vote 9 down vote accepted

I am assuming you want to be able to do this both ways, that your username of the logged in user is the same on both machines, that you are happy to get it working as quickly and as simply as possible and that you don't require to use keys to do this.

The steps are:

Set up ssh

You need to install the packages openssh-client and openssh-server Then from, check you can connect to


You will be prompted for the password of your use on Enter that to continue. When asked if it is okay to connect, say yes.

Repeat the process the other way.

rsync files

To copy a file called todo.txt from your Desktop on to, you can do this when logged into

rsync -av ~/Desktop/todo.txt

Or the other way, when logged into

rsync -av ~/Desktop/todo.txt

Make it easier.

On machine you can add as a network place in Nautilus under File > Connect to Server and choose ssh and enter your username, password etc. Set this up the other way round on You can then use Nautilus to copy files using scp, ...which is nice.

share|improve this answer
Thanks for the valuable suggestions ...i have made finally made a vdieo on rsync over ssh and posted on youtube. youtube.com/watch?v=4TTaPOAZnSA –  joe1983 Feb 21 '12 at 12:07
@joe1983: Nice one. If you are happy that the answer is correct you can mark it as accepted. –  Richard Holloway Feb 21 '12 at 20:00

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.