rsync 2.5.6 with ssh to a remote server
Brian R.
b_rose at shaw.ca
Wed Dec 3 01:19:25 EST 2003
Since I have gotten no replies I think it may be because it
was too long. Hence, this one is streamlined.
On Mon, 01 Dec 2003 22:08:22 -0800
Brian <b_rose at shaw.ca> wrote:
>Hi,
>I would like to use the new interface style:
>
>rsync --rsh="ssh -l username -i key" <src>
>username at host::module,
>
>however I get "reset by peer" errors. Can someone give some
>
>suggestions, please?
Relevant output is below.
>Relevant part of my
>/etc/rsyncd.conf:
>
># GLOBAL OPTIONS
>
>motd file=/etc/motd
>log file=/var/log/rsyncd.log
>pid file=/var/run/rsyncd.pid
>syslog facility=daemon
>#socket options=
>
># MODULE OPTIONS
>
>[brian]
> path = /home/brian
> use chroot = true # Do I need this for ssh style?
> read only = false
> uid = 1000 # Or these 2 lines?
> gid = 1000
> auth users = brian # And these 3 lines?
> secrets file = /etc/rsyncd.secrets
> strict modes = true
>
>
>
>-- I have rsh-style rsync working on windows. --
>C:\kdi>rsync -auvv /cygdrive/c/kdi/brian
>brian at 192.168.1.64::brian/brian
>
>-- If I try with ssh, prints the following error:
>C:\kdi>rsync -auvv --rsh="ssh -i .ssh/id_rsa -l brian"
>/cygdrive/c/kdi/brian brian at 192.168.1.64::brian/brian
>opening connection using ssh -i .ssh/id_rsa -l brian
>192.168.1.64 rsync --server --daemon .
> Linux aspen 2.4.18-evms #1 Sat Nov 8 00:32:46 GMT-7 2003
>i686 unknown rsync: read error: Connection reset by
>peer rsync error: error in rsync protocol data stream (code
>12) at io.c(177)
> C:\kdi>
>
>-- What is the problem here? Both rsync ends are 2.5.6.
>Client ssh is OpenSSH_3.7.1p2, SSH protocols 1.5/2.0,
>OpenSSL 0.9.7c 30 Sep 2003.
Also, it appears when using ssh and ::, the windows client
passes "rsync --server --daemon." to server. Is this true?
Will it use /etc/rsyncd.conf?
----
ContagiousDesign!
web . design . software . photo
Brian Rose . programmer
Stacey Rose . designer
(604)-588-8827 . contagiousdesignATshawDOTca
More information about the rsync
mailing list