From fab5d1d95d0a6fc27aee9b3316fe6c0cb8b6bbd2 Mon Sep 17 00:00:00 2001 From: stubbfel Date: Fri, 19 Jul 2013 19:20:58 +0200 Subject: [PATCH] update1907213 --- stubbfelpiproxywan.sh | 5 +++++ 1 file changed, 5 insertions(+) create mode 100755 stubbfelpiproxywan.sh diff --git a/stubbfelpiproxywan.sh b/stubbfelpiproxywan.sh new file mode 100755 index 0000000..9183de4 --- /dev/null +++ b/stubbfelpiproxywan.sh @@ -0,0 +1,5 @@ +#!/bin/bash +curl http://www-user.tu-cottbus.de/~stubbfel/echoRemoteAdress.php?server=stubbfelpi > ~/bin/stubbfelpi.json; +IP=`jshon -e ip < ~/bin/stubbfelpi.json | tr -d '"'`; +echo $IP; +~/bin/sshproxy.sh localhost:4711 ssh@$IP