projects
/
feisty_meow.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tasty renamings
[feisty_meow.git]
/
scripts
/
security
/
uva_web_proxy.sh
diff --git
a/scripts/security/uva_web_proxy.sh
b/scripts/security/uva_web_proxy.sh
index c7c51edac2cb4267535ddfe7f30cbb1423a1fa35..61fa313e27dd144d23a7862992f653e93e31db6a 100644
(file)
--- a/
scripts/security/uva_web_proxy.sh
+++ b/
scripts/security/uva_web_proxy.sh
@@
-4,21
+4,26
@@
# a web proxy like squid. when used for SMTP, it ensures that none of the
# text is seen on whatever network one is on before it's sent from the remote
# server.
# a web proxy like squid. when used for SMTP, it ensures that none of the
# text is seen on whatever network one is on before it's sent from the remote
# server.
+#
+# it accepts a single parameter so far, which will be used as the name of a
+# sound file to play.
#hmmm: none of the user info below will work for others: parameterize it.
#source $HOME/yeti/scripts/launch_feisty_meow.sh
#hmmm: none of the user info below will work for others: parameterize it.
#source $HOME/yeti/scripts/launch_feisty_meow.sh
-soundfile=$FEISTY_MEOW_DIR/database/sounds/woouoo.wav
+#ssh_host=khandroma.cs.virginia.edu
+ssh_host=mason.cs.virginia.edu
+
+soundfile=$FEISTY_MEOW_APEX/infobase/sounds/woouoo.wav
if [ ! -z "$1" ]; then
soundfile=$1
fi
while true; do
if [ ! -z "$1" ]; then
soundfile=$1
fi
while true; do
- echo Connecting uva web sites via
khandroma.
- ssh -i $HOME/.ssh/id_dsa_fred -2 -N -v -D localhost:14420 fred@
khandroma.cs.virginia.edu
+ echo Connecting uva web sites via
a machine on site: $ssh_host
+ ssh -i $HOME/.ssh/id_dsa_fred -2 -N -v -D localhost:14420 fred@
$ssh_host
bash $FEISTY_MEOW_SCRIPTS/multimedia/sound_play.sh $soundfile
bash $FEISTY_MEOW_SCRIPTS/multimedia/sound_play.sh $soundfile
-#hmmm: parameterize this for the sound to be played. doofus.
echo "Got dumped from tunnels; re-establishing connection."
echo "Note: if you're being asked for a password, you haven't set up an RSA key yet."
sleep 14
echo "Got dumped from tunnels; re-establishing connection."
echo "Note: if you're being asked for a password, you haven't set up an RSA key yet."
sleep 14