From f8d41b34b71f04421a7b9634717a04dfce0ac12e Mon Sep 17 00:00:00 2001 From: Chris Koeritz Date: Sat, 28 Apr 2012 11:53:25 -0400 Subject: [PATCH] new sound file, updated khandroma script using logic from start tunnels. really we just need start tunnels to use a variable, and that would fix all these different scripts romping around. the same approach could be used to make the proxying script generic. --- database/sounds/my_mind_is_going.wav | Bin 0 -> 15228 bytes scripts/security/khandroma_tunnels.sh | 39 ++++++++++++++++++++++++-- 2 files changed, 37 insertions(+), 2 deletions(-) create mode 100755 database/sounds/my_mind_is_going.wav diff --git a/database/sounds/my_mind_is_going.wav b/database/sounds/my_mind_is_going.wav new file mode 100755 index 0000000000000000000000000000000000000000..e1d50a8f2910cee9032defc2b940d14b41ff8cbb GIT binary patch literal 15228 zcmZ9S$&MsTR)(v0EO`TX4>qu%C3c7ftXo1zfNtN)%ouzypT~&Etm;d5t6!JzJLZvf z!80o|!u{A8{xh0I{mVc7_P3|M`|{=A{^4K$@jre#{q0|W`SRsA{QUjje2IU*`SMp^ z{{45S-~BT*ecyNdJ6^i3YkA9^czc0R;z?XQ@LA92)`hJk znG=k75LYa0Sr{CT=RNfNuqcz|_t48a*oUMnO;YJX*pCGvS1yN`yi!hag*-GIM%4@p zxsMw8hd+6tY$X~$ZGlQ$wDh25xle;nyc4J_De#b&?1E)jq`DabKguTmW*82gpB%&F zPsP#lX_XpgYg`c&+~Hjqqz)OOL)?C zi(6Sl=ys@hEHJXO&j?jNNSgV$CRk)XS)li{ND;E|Ss1UU^W7kkld60|Do@o3paSl^ zAY5&_NC`m%V(`t}6eH&>K5&vsW}j5Yhq&*f`~ZfkdT1NU$R+Eb$5k2R7_-9say`@QA>Q)rTs_s$eRAetG%4i6d4(VJeOk9YDV6Q8;;{yyIw zpPpm}#)0r4-+VpS#NW^%djkq3WN$?sh5lg0pP{3OWuZ^eJPzu<8ID|3Q{l;C)mWLB z9A-hB)y-T(T$T|A2B|NymDYEWGV=MM32eEtLGhONnIgx)Gn-t)o!|mpko48Fq>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lF7(4Nv=4u<1|n|g2?~s1gQTdgW@99*AbQ_uhmyA(iJ6UXL<0Vy+1Z@UsKXuN z&U=kU4VF>_k8>IQ0UH*hIsfR$beY&evT0>sW6ZI2z+5o2=I}@V`+w`0+>FtD0M8d@ z#-3A<=4rF@5G|N540%GUqpQJ8MFL-6JR{*8GQ!#kGiETpVyCST`1%C2IMY-~^{0#E zp#@DeQ*%(ra?IQU>@mg>v-~<%#6&7gCa9iAJhZG2L?`oC_Mn7#~r_a4Yb{ zyi=Afi*gOumEAoZgw7k8se?^zO!P-3M8?A({_B99$KviVjV;nD0%|)wXI1V(`BsTGoI?}d&_q0&GZ}QaZNqr6^nkzeSc3!(Iq;p^IcBsh1}^BG>l8S# zKXiu$?wD^-Xee$HYIcPY(>%Y(ns-g9C>(KJt(W zYhojT`WS1VaywT7tV9?${Ic4aSKG~*V^$Bl#n6K;F6BFfg~AXMcGv@OGqYMmDws#@ zfQ>Ha((#6uH4#+}a8f}Q<|T_`Qyl>Z8ah}lWB)<2u_Vt%Mn5IXur=|GYt6A<2CV3) z(vCq~/.tmp/zz_tunnel_khandro_w7.log & -ssh -i $HOME/.ssh/id_dsa_fred -2 -N -v -L "*:4040:localhost:8080" fred@khandroma.cs.virginia.edu &>~/.tmp/zz_tunnel_khandro_jenkins.log & +#!/bin/bash +# tunnels to the khandroma machine for vnc access to the win7 box and for the jenkins +# server. + +soundfile=$FEISTY_MEOW_DIR/database/sounds/my_mind_is_going.wav +if [ ! -z "$1" ]; then + soundfile=$1 +fi + +while true; do + echo Connecting jenkins and vms at khandroma. + ssh -i $HOME/.ssh/id_dsa_fred -2 -N -v -L "*:5908:localhost:5908" -L "*:4040:localhost:8080" fred@khandroma.cs.virginia.edu &>~/.tmp/zz_tunnel_khandro_jenkins_vnc.log & + bash $FEISTY_MEOW_SCRIPTS/multimedia/sound_play.sh $soundfile &>/dev/null