From: Fred Hamster Date: Thu, 19 Dec 2024 21:41:40 +0000 (-0500) Subject: cleaning up some non-generalized scripts X-Git-Tag: 2.140.189^2~51 X-Git-Url: https://feistymeow.org/gitweb/?a=commitdiff_plain;h=c673233c03123ac315214617a6e7f0ab658bdfd6;p=feisty_meow.git cleaning up some non-generalized scripts --- diff --git a/scripts/customize/fred/scripts/jobby/hal_jenkins_tunnel.sh b/scripts/customize/fred/scripts/jobby/hal_jenkins_tunnel.sh new file mode 100644 index 00000000..5e8bf58c --- /dev/null +++ b/scripts/customize/fred/scripts/jobby/hal_jenkins_tunnel.sh @@ -0,0 +1,2 @@ +ssh -i $HOME/.ssh/id_dsa_fred -2 -N -v -L "*:8080:hal:8080" fred@hal &>~/.tmp/zz_tunnel_equan_to_hal_8080_8080 & + diff --git a/scripts/customize/fred/scripts/jobby/khandroma_tunnels.sh b/scripts/customize/fred/scripts/jobby/khandroma_tunnels.sh new file mode 100644 index 00000000..ec24b729 --- /dev/null +++ b/scripts/customize/fred/scripts/jobby/khandroma_tunnels.sh @@ -0,0 +1,18 @@ +#!/usr/bin/env bash +# tunnels to the khandroma machine for vnc access to the win7 box and for the jenkins +# server. + +soundfile=$FEISTY_MEOW_APEX/infobase/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 "*:5905:localhost:5905" -L "*:5902:localhost:5902" -L "*:5909:localhost:5909" -L "*:5908:localhost:5908" -L "*:4040:localhost:8080" fred@khandroma.cs.virginia.edu + bash $FEISTY_MEOW_SCRIPTS/multimedia/sound_play.sh $soundfile &>/dev/null ~/.tmp/zz_tunnel_equan_to_hal_8080_8080 & - diff --git a/scripts/security/khandroma_tunnels.sh b/scripts/security/khandroma_tunnels.sh deleted file mode 100644 index ec24b729..00000000 --- a/scripts/security/khandroma_tunnels.sh +++ /dev/null @@ -1,18 +0,0 @@ -#!/usr/bin/env bash -# tunnels to the khandroma machine for vnc access to the win7 box and for the jenkins -# server. - -soundfile=$FEISTY_MEOW_APEX/infobase/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 "*:5905:localhost:5905" -L "*:5902:localhost:5902" -L "*:5909:localhost:5909" -L "*:5908:localhost:5908" -L "*:4040:localhost:8080" fred@khandroma.cs.virginia.edu - bash $FEISTY_MEOW_SCRIPTS/multimedia/sound_play.sh $soundfile &>/dev/null