Here is a newbie question. Hope, you will not mind. I am trying to backup a file from my NT machine onto AIX machine. Here is the setup: NT machine (testor): rsync is in c:\Rsync\rsync.exe and is running as a daemon. (I created a service for Rsync first). AIX machine (admx): rsync -v rsync version 2.3.1 Copyright Andrew Tridgell and Paul Mackerras admx::nkapoor> telnet testor 873 Trying... Connected to testor. Escape character is '^]'. @RSYNCD: 24 So, the rsync daemon seems fine on testor but the problem occurs when I try this: admx::nkapoor> rsync -v -e ssh --rsync-path=c:/rsync/rsync.exe guest@testor:"c:/Temp/pix.log" . Secure connection to testor refused. unexpected EOF in read_timeout I have checked that 'guest' is a valid user on testor. Could someone please help me understand what could be the problem here ? Thanks Nishi
You'll have to chose between the external transport via ssh and the rsync
daemon. The commandline to use the rsyncd, based on your example, would
be
rsync -v guest@testor::"c:/Temp/pix.log" .
I'm guessing, however, that you don't have a module named "c:"
in your
rsyncd.conf.
I would hope that if you're trying to use the rsyncd, you have something
like
+++++++++++++++++++++++++++
[cdrive]
path = "c:\"
+++++++++++++++++++++++++++
in your rsyncd.conf. that would mean your commandline would be
rsync -v guest@testor::cdrive/Temp/pix.log .
the internal transport (rsyncd connection) is signified by the double
colon "::" delimiter between the host and the path, which in this case
is
the name of the module, followed by the path to the subdirectory.
the single colon means to open a tcp connection to the remote machine,
execute "rsync --server
--whateverotherundocumentedoptionsitusesinthiscircumstance", and use that
as the remote. the "-e ssh" means to use ssh instead of the default
rsh.
Tim Conway
tim.conway@philips.com
303.682.4917
Philips Semiconductor - Longmont TC
1880 Industrial Circle, Suite D
Longmont, CO 80501
Available via SameTime Connect within Philips, n9hmg on AIM
perl -e 'print pack(nnnnnnnnnnnn,
19061,29556,8289,28271,29800,25970,8304,25970,27680,26721,25451,25970),
".\n" '
"There are some who call me.... Tim?"
"Kapoor, Nishikant X" <Nishikant.X.Kapoor@xcelenergy.com>
Sent by: rsync-admin@lists.samba.org
11/15/2001 03:09 PM
To: rsync@lists.samba.org
cc: (bcc: Tim Conway/LMT/SC/PHILIPS)
Subject: Secure connection to testor refused !
Classification:
Here is a newbie question. Hope, you will not mind.
I am trying to backup a file from my NT machine onto AIX machine. Here
is the setup:
NT machine (testor): rsync is in c:\Rsync\rsync.exe and is running as a
daemon. (I created a service for Rsync first).
AIX machine (admx): rsync -v
rsync version 2.3.1 Copyright Andrew Tridgell and Paul Mackerras
admx::nkapoor> telnet testor 873
Trying...
Connected to testor.
Escape character is '^]'.
@RSYNCD: 24
So, the rsync daemon seems fine on testor but the problem occurs when I
try this:
admx::nkapoor> rsync -v -e ssh --rsync-path=c:/rsync/rsync.exe
guest@testor:"c:/Temp/pix.log" .
Secure connection to testor refused.
unexpected EOF in read_timeout
I have checked that 'guest' is a valid user on testor. Could someone
please help me understand what could be the problem here ?
Thanks
Nishi
-------------- next part --------------
HTML attachment scrubbed and removed
Thanks for the help. I did go through quite a few docs but could not figure that out. Thanks again. However, after setting [cdrive], I am getting the following error: admx::nkapoor> rsync -v guest@testor::cdrive/Temp/pix.log . @ERROR: chdir failed read error: Connection reset by peer Is there a log file that I could use to see what exaclty is going on ? Or a debug level that could be set to see the trail ? Thanks Nishi> -----Original Message----- > From: tim.conway@philips.com [SMTP:tim.conway@philips.com] > Sent: Thursday, November 15, 2001 4:51 PM > To: Kapoor, Nishikant X > Cc: rsync@lists.samba.org > Subject: Re: Secure connection to testor refused ! > > > You'll have to chose between the external transport via ssh and the > rsync daemon. The commandline to use the rsyncd, based on your > example, would be > rsync -v guest@testor::"c:/Temp/pix.log" . > I'm guessing, however, that you don't have a module named "c:" in your > rsyncd.conf. > I would hope that if you're trying to use the rsyncd, you have > something like > +++++++++++++++++++++++++++ > [cdrive] > path = "c:\" > +++++++++++++++++++++++++++ > in your rsyncd.conf. that would mean your commandline would be > rsync -v guest@testor::cdrive/Temp/pix.log . > > the internal transport (rsyncd connection) is signified by the double > colon "::" delimiter between the host and the path, which in this case > is the name of the module, followed by the path to the subdirectory. > the single colon means to open a tcp connection to the remote machine, > execute "rsync --server > --whateverotherundocumentedoptionsitusesinthiscircumstance", and use > that as the remote. the "-e ssh" means to use ssh instead of the > default rsh. > > Tim Conway > tim.conway@philips.com > 303.682.4917 > Philips Semiconductor - Longmont TC > 1880 Industrial Circle, Suite D > Longmont, CO 80501 > Available via SameTime Connect within Philips, n9hmg on AIM > perl -e 'print pack(nnnnnnnnnnnn, > 19061,29556,8289,28271,29800,25970,8304,25970,27680,26721,25451,25970) > , ".\n" ' > "There are some who call me.... Tim?" > > > > "Kapoor, Nishikant X" <Nishikant.X.Kapoor@xcelenergy.com> > Sent by: rsync-admin@lists.samba.org > > 11/15/2001 03:09 PM > > To: rsync@lists.samba.org > cc: (bcc: Tim Conway/LMT/SC/PHILIPS) > Subject: Secure connection to testor refused ! > > Classification: > > > > > Here is a newbie question. Hope, you will not mind. > > I am trying to backup a file from my NT machine onto AIX machine. Here > is the setup: > > NT machine (testor): rsync is in c:\Rsync\rsync.exe and is running as > a > daemon. (I created a service for Rsync first). > > AIX machine (admx): rsync -v > rsync version 2.3.1 Copyright Andrew Tridgell and Paul Mackerras > admx::nkapoor> telnet testor 873 > Trying... > Connected to testor. > Escape character is '^]'. > @RSYNCD: 24 > > So, the rsync daemon seems fine on testor but the problem occurs when > I > try this: > > admx::nkapoor> rsync -v -e ssh --rsync-path=c:/rsync/rsync.exe > guest@testor:"c:/Temp/pix.log" . > Secure connection to testor refused. > unexpected EOF in read_timeout > > I have checked that 'guest' is a valid user on testor. Could someone > please help me understand what could be the problem here ? > > Thanks > Nishi > > > > >
There are ways... use the "log file = " directive in your rsyncd.conf, which will give you a small bit of info. If you can find a debug utility for cygwin, you can run the daemon directly, rather than from inetd, and trace it that way.