Displaying 2 results from an estimated 2 matches for "natjohn1".
2006 Mar 09
0
rsync failures through ssh tunnels
.../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 backgrounded shell "
echo /bin/kill -9 `/usr/bin/pgrep -lf -u natjohn1 ssh | grep "$sshuser@$rhost" | cut -f1 -d " "`
--
David Bear
phone: 480-965-8257
fax: 480-965-9189
College of Public Programs/ASU
Wilson Hall 232
Tempe, AZ 85287-0803
"Beware the IP portfolio, everyone will be suspect of trespassing"
2006 Mar 23
1
error in protocol stream
...sing syntax like this:
ssh -fN -l middle_user -L 8873:target:873 middle
except that I don't have a middle system. My script does this:
/usr/bin/ssh -fN -L 8730:localhost:873 sshuser@rhost.asu.edu
/usr/bin/rsync -av rsync://localhost:8730/home uc-sirc1/home/
/bin/kill -9 `/usr/bin/pgrep -lf -u natjohn1 ssh | grep "sshuser@rhost" | cut -f1 -d " "`
This works... except that for some reason the rsync daemon on the
remote host dies --- occasionally...
--
David Bear
phone: 480-965-8257
fax: 480-965-9189
College of Public Programs/ASU
Wilson Hall 232
Tempe, AZ 85287-0803
&quo...