This is a discussion on rsync hates me - Tools ; Hi, I trying to setup an anonymous server on a private LAN. I can't seem to get the rsync to work properly. Here are the stats: 10.0.0.116 FreeBSD 4.10 (Server) rsync version 2.6.1 protocol version 28 the rsyncd.conf # rsyncd.conf ...
Hi,
I trying to setup an anonymous server on a private LAN. I can't seem to
get the rsync to work properly.
Here are the stats:
10.0.0.116
FreeBSD 4.10 (Server)
rsync version 2.6.1 protocol version 28
the rsyncd.conf
# rsyncd.conf - Example file, see rsyncd.conf(5)
#
# Set this if you want to stop rsync daemon with rc.d scripts
pid file = /var/run/rsyncd.pid
# Edit this file before running rsync daemon!!
motd file = /etc/rsyncd.motd
log file = /var/log/rsyncd.log
pid file = /var/run/rsyncd.pid
lock file = /var/run/rsync.lock
max connections = 25
uid=nobody
gid=nobody
# syslog facility = local3
[ftp]
comment = ftp area
path = /usr/ftp/incoming/bhorne/
read only = no
list = yes
hosts allow = 10.0.0.0/24
uid = nobody
gid = nobody
[tmp]
comment = temporary file area
path = /tmp
read only = no
list = yes
hosts allow = 10.0.0.0/24
auth users = bhorne
secrets file = /etc/rsyncd.secrets
the client
10.0.0.124
FreeBSD 4.10
rsync version 2.6.3 protocol version 28
What I am trying to do is be at the client and rsync my home directory
to the server.
So at the command line:
rsync -av 10.0.0.116::ftp /home/bhorne/
@ERROR: Unknown module 'ftp'
rsync: connection unexpectedly closed (0 bytes received so far) [receiver]
rsync error: error in rsync protocol data stream (code 12) at io.c(365)
[bhorne@Slacker:bhorne, 10:57 PM, Sat Dec 04]>rsync -nv /home/bhorne/
10.0.0.116:ftp
Password:
Password:
Password:
bhorne@10.0.0.116's password:
Permission denied, please try again.
bhorne@10.0.0.116's password:
Permission denied, please try again.
bhorne@10.0.0.116's password:
Permission denied (publickey,password,keyboard-interactive).
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at io.c(365)
This pisses me off because it should not ask for a password.
So how do I get anonymous rsync to work?
Sincerely,
Brendhan