From: Dobrica Pavlinusic Date: Tue, 21 Jun 2011 21:32:32 +0000 (+0200) Subject: use autossh for tunneling X-Git-Url: http://git.rot13.org/?a=commitdiff_plain;h=71f520e40818e2075db15687aeed298e8fdff2cd;p=bak-git.git use autossh for tunneling --- diff --git a/klin.sh b/klin.sh index 1e45e00..d1a8ff0 100755 --- a/klin.sh +++ b/klin.sh @@ -1,4 +1,4 @@ - #!/bin/sh -x +#!/bin/sh -x if [ -z "$1" ] ; then @@ -6,4 +6,4 @@ if [ -z "$1" ] ; then fi -./bak-git-server.pl /home/dpavlin/klin/backup/ 10.60.0.92 $* +SSH=autossh ./bak-git-server.pl /home/dpavlin/klin/backup/ 10.60.0.92 $*