Displaying 2 results from an estimated 2 matches for "sirc1".
Did you mean:
circ1
2006 Mar 23
1
error in protocol stream
I am trying to use the syntax:
rsync -av -e "ssh -l ssh-user" rsync-user@host::module /dest
found at http://rsync.samba.org/ftp/rsync/rsync.html
but am getting the following:
rsync -av -e "ssh -l sshuser" rhost.asu.edu::home uc-sirc1/home/
rsync: connection unexpectedly closed (0 bytes received so far)
[receiver]
rsync error: error in rsync protocol data stream (code 12) at
io.c(434)
There is an rsync daemon running on rhost.asu.edu and that has a
module named home. This is a file server box with only two interactive
logins al...
2006 Mar 09
0
rsync failures through ssh tunnels
...will be greatly appreciated.
#!/bin/sh
# by db
# date: 20060306
#
sshuser="sshuser"
rsyncuser="rsuser"
rhost="rhost.asu.edu"
pforward="8730"
rport="873"
sshoptions="-fN -L $pforward:localhost:$rport "
module="home"
dest="uc-sirc1/home/"
echo "Connecting to host $rhost"
echo /usr/bin/ssh $sshoptions $sshuser@$rhost
echo "beginning sync operation"
echo /usr/bin/rsync -av rsync://localhost:$pforward/$module $dest
echo "all done rsyncing, now cleaning up backgrounded shell"
echo "Killing...