LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
LinkBack Search this Thread
Old 06-12-2007, 10:08 PM   #1
mago
Member
 
Registered: Apr 2004
Location: Costa Rica
Distribution: slack current with 2.6.16.18 (still off the hook)
Posts: 275

Rep: Reputation: 32
RSYNC without keys or passwords prompts?


Hi,

I have to backup a SVN repository that is in a remote location, we have a openvpn tunnel fairly secured and with quite tight FW rules so I just want to use the direct "anonymous" rsync config restricting by requesting IP but is not working for me.
I went through a couple of tutorials and it seems to be fine.
Seems to me that I'm missing the tree while looking into the forest so I wonder if anyone of you can help me out with my config.

Thanks, here is the rsyncd.conf
Code:
log file = /var/log/rsync.log
max connections = 2




[svnsync]
        path = /svn
        uid = 0
        gid = 0
        hosts allow = 10.2.6.106 10.2.6.164
        read only = yes
        hosts deny = *
And this is the line I'm using to try to pull it.
10.3.6.28 Is the IP of the server running rsyncd
Code:
rsync -rza 10.3.6.28:svnsync /svnbkup
 
Old 06-12-2007, 11:14 PM   #2
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,500

Rep: Reputation: 285Reputation: 285Reputation: 285
Sorry, my previous post was incorrect. Add the '-v -v -v' (or more) options to the rsync command to see the debugging output.

Last edited by macemoneta; 06-12-2007 at 11:18 PM.
 
Old 06-13-2007, 12:55 AM   #3
mago
Member
 
Registered: Apr 2004
Location: Costa Rica
Distribution: slack current with 2.6.16.18 (still off the hook)
Posts: 275

Original Poster
Rep: Reputation: 32
Thanks,
For some reason somewhere in my mind I tend to forget the verbose flags.


I'm using Mandriva and seems that the default behavior is to use -e ssh, so I needed to specufy rsync:// in the URL and problem solved.

Thanks so much for the tip.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can rsync read passwords from a file ? vmniza Linux - Networking 1 06-10-2005 01:25 AM
Sync MySQL passwords with local account passwords? turbine216 Linux - Software 2 02-18-2005 03:15 AM
Completely uninstalling MySQL and its passwords passwords...how? I locked myself out! Baix Linux - Newbie 2 01-30-2005 04:10 PM
Root & user logins : Passwords? Why not encryption keys instead? furfurdemon666 Linux - Security 4 07-02-2004 09:17 AM
Is there a way to sync Samba passwords with linux user passwords MarleyGPN Linux - Networking 2 09-09-2003 10:59 AM


All times are GMT -5. The time now is 08:43 PM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration