Connection refused
Sholom Fried (Senior Sys Admin)
sfried at dpw.com
Thu Aug 1 07:21:22 EST 2002
>rsh is good:
>
>[g3p:~] smith% rsh -l a1012 sv1.domain.com
>Password:
>{a1012 at sv1.domain.com:65}
>
>rsync not good:
>...
actually, "rsh" is not good enough. it's asking you for a password,
which means without user/pwd authentication it won't run.
for example, try this:
smith% rsh -l a1012 sv1.domain.com date
do you get the date back? I didn't think so.
you need to either:
- enable r-commands from your source host to sv1.domain.com,
by use of /etc/hosts.equiv or .rhosts (see the man pages)
- use rsync modules, where you can specify permissions which don't
rely on r-command trusting.
The simplest is the first approach; if you have a home-directory (for a1012)
on sv1.domain.com, simply create a file at the base of the home-dir
called ".rhosts" with a one-line entry: the name of the source machine.
Before trying rsync, make sure you can do an
"rsh -l a1012 sv1.domain.com date"
successfully.
good luck!
- Sholom Fried
More information about the rsync
mailing list