wok-6.x view rsync/stuff/usr/bin/rsync-unssh @ rev 22717

updated fcron (3.0.4 -> 3.2.1)
author Hans-G?nter Theisgen
date Wed Jan 22 15:57:11 2020 +0100 (2020-01-22)
parents d211311bd968
children
line source
1 #!/bin/sh
2 # usage: rsync -e /usr/bin/rsync-unssh ...
4 port=60873 # any free tcp port > 1024
6 login=$2
7 peer=$3
8 shift 3
9 dbclient -f $login@$peer "nc -l -p $port -e $@" < /dev/tty
10 nc $peer $port