Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
rsync server [was: rsync w/o giving a password]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
haimat
Apprentice
Apprentice


Joined: 05 Sep 2002
Posts: 239
Location: Vienna / Austria

PostPosted: Sun Sep 29, 2002 9:17 pm    Post subject: rsync server [was: rsync w/o giving a password] Reply with quote

Hi there,

I want to backup some files via rsync (over ssh) from one machine to another one. And because I want to do that in a cron job, I want to use the --password-file=... option.

But it seems that rsync does not use this option and still asks for a password (I get the same "error" if I try it with the RSYNC_PASSWORD variable).

Does anyone has an idea why this could be? Maybe cause of ssh?
Greetings, Matthias


Last edited by haimat on Sun Sep 29, 2002 11:20 pm; edited 1 time in total
Back to top
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Sun Sep 29, 2002 9:25 pm    Post subject: Reply with quote

Have you seen How to write a backup script that will auto insert password??
_________________
For every higher wall, there is a taller ladder
Back to top
View user's profile Send private message
haimat
Apprentice
Apprentice


Joined: 05 Sep 2002
Posts: 239
Location: Vienna / Austria

PostPosted: Sun Sep 29, 2002 11:23 pm    Post subject: Reply with quote

Hello and thx for your answer. But I now want to try it with an rsync-server. I started the daemon with "rsync --daemon" as root with a minimal config under /etc/rsync/rsyncd.conf (only a module name, a path, and a comment).

But when I then try to rsync to this server from my client, I only get an error like this:

Code:
rsync: error writing 4092 unbuffered bytes - exiting: Broken pipe
rsync error: error in rsync protocol data stream (code 12) at io.c(463)

In the logfile on the server I only get a

Code:
rsyncd[11935]: rsync to bkpitchy from ...

What could this be? Greetings, Matthias
Back to top
View user's profile Send private message
haimat
Apprentice
Apprentice


Joined: 05 Sep 2002
Posts: 239
Location: Vienna / Austria

PostPosted: Mon Sep 30, 2002 3:26 pm    Post subject: Reply with quote

I searched a bit in the internet and the newsgroups. It seems that several people have a similar problem like me, but I found no solution.

Does really nobody knows a solution? Since Gentoos heart is portage which uses rsync there have to be many rsync gurus here... :)

Greetings, Matthias
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum