[rescue] rsync--argh!
Big Endian
bigendian at mac.com
Tue Jan 8 13:07:01 CST 2002
>On Mon, Jan 07, 2002 at 11:26:12PM -0600, Scott Newell wrote:
>> Now this part must be partially working, 'cause when I try and do an rsync
>> (lots of verbosity, dry run mode):
>> rsync -v -v -n newell at cascode.dynodns.net:/home/newell/ ./
>> I get the ssh password prompt, then:
>> cascode.dynodns.net: Command not found.
>> rsync: connection unexpectedly closed (0 bytes read so far)
>> rsync error: error in rsync protocol data stream (code 12) at io.c(139)
>
>Here's what I do:
>
>/usr/local/bin/rsync --progress -arzu -e /bin/ssh
>ohno.mrbill.net:/usr/local/src/installed /usr/local/sunhelp/src/
>
>(this syncs up stuff from ohno to my local box here at the house.
>I've got keys
>setup so that I dont have to enter a password...)
we use a similar system here at work to push from development to live
servers...
rsync -avz -r -e ssh $1 pd at 192.168.0.35:$1 ($1= the file/dir to push
live) we also have ssh keys setup to do passwordless auth.
daniel
--
-----------------------------------------------------------------
"Fragile. Do not drop." -- Posted on a Boeing 757.
More information about the rescue
mailing list