6 lines
226 B
Bash
Executable File
6 lines
226 B
Bash
Executable File
#!/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
|