[wplug] weird rsync error
Alexandros Papadopoulos
apapadop at alumni.cmu.edu
Wed Mar 19 04:14:00 EST 2008
On Wed, Mar 19, 2008 at 6:43 AM, Zach <netrek at gmail.com> wrote:
> Any clue what is going on and how I can fix it? As you can see from
> the time I enter my password it just sits there for almost 2 minutes
> before finally giving the error.
>
> ubuntu at ubuntu:~/Desktop$ time rsync -avP --progress doxygen.diff
> chaos at unix.club.cc.cmu.edu:/afs/club.cc.cmu.edu/usr/chaos/tmp
> chaos at unix.club.cc.cmu.edu's password:
> rsync: connection unexpectedly closed (0 bytes received so far) [sender]
> rsync error: error in rsync protocol data stream (code 12) at io.c(434)
I don't know why this is so, but I've always found that temporarily
storing the password in an environment variable works much better.
$ export RSYNC_PASSWORD=blah
$ rsync ....
-A
More information about the wplug
mailing list