rsync 2.5.6 with ssh to a remote server
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:
>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
Relevant output is below.
>Relevant part of my
># GLOBAL OPTIONS
># MODULE OPTIONS
> 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)
>-- 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?
web . design . software . photo
Brian Rose . programmer
Stacey Rose . designer
(604)-588-8827 . contagiousdesignATshawDOTca
More information about the rsync