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