View Single Post
  #3  
Old 12th November 2010, 15:14
dalitso dalitso is offline
Member
 
Join Date: Nov 2008
Location: South Africa
Posts: 43
Thanks: 3
Thanked 4 Times in 3 Posts
Send a message via Skype™ to dalitso
Default

I am sorry, the post was incomplete, heres the rest

Code:
root@hurricane:`#nano /etc/inetd.conf

#<off># netbios-ssn	stream	tcp	nowait	root	/usr/sbin/tcpd	/usr/sbin/smbd
#<off># ftp	stream	tcp	nowait	root	/usr/sbin/tcpd /usr/sbin/proftpd
#<off># sane-port	stream	tcp	nowait	saned:saned	/usr/sbin/saned saned
rsync stream tcp nowait root /usr/bin/rsync rsyncd --daemon
I have another Ubuntu box with the same setup (with the login user details being different) So I am doing a remote sync this command

Code:
root@hurricane:~# rsync -azvv jhbs@192.168.1.50::share /home/all2/

Running the above command asks for a password which when entered the sync is done.

How do I automate the file sync?

1. Have it to auto login; without asking for the password
2. schedule sync like hourly


Heres some progress, I am now learning OpenSSH Keys so that I can setup auto login. Will let you know the progress.
Reply With Quote