Displaying 1 result from an estimated 1 matches for "pforward".
Did you mean:
forward
2006 Mar 09
0
rsync failures through ssh tunnels
...e commands to the
screen. What I am finding is that even after ssh sets up the tunnels
that rsync sits in a sleep state forever.
Any pointers 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/r...