From c673233c03123ac315214617a6e7f0ab658bdfd6 Mon Sep 17 00:00:00 2001 From: Fred Hamster Date: Thu, 19 Dec 2024 16:41:40 -0500 Subject: [PATCH] cleaning up some non-generalized scripts --- .../fred/scripts/jobby}/hal_jenkins_tunnel.sh | 0 .../fred/scripts/jobby}/khandroma_tunnels.sh | 0 scripts/customize/fred/scripts/jobby/proxy_hookup_uva.sh | 9 +++++++++ .../fred/scripts/jobby}/uva_web_proxy.sh | 6 ++++-- 4 files changed, 13 insertions(+), 2 deletions(-) rename scripts/{security => customize/fred/scripts/jobby}/hal_jenkins_tunnel.sh (100%) rename scripts/{security => customize/fred/scripts/jobby}/khandroma_tunnels.sh (100%) create mode 100644 scripts/customize/fred/scripts/jobby/proxy_hookup_uva.sh rename scripts/{security => customize/fred/scripts/jobby}/uva_web_proxy.sh (92%) diff --git a/scripts/security/hal_jenkins_tunnel.sh b/scripts/customize/fred/scripts/jobby/hal_jenkins_tunnel.sh similarity index 100% rename from scripts/security/hal_jenkins_tunnel.sh rename to scripts/customize/fred/scripts/jobby/hal_jenkins_tunnel.sh diff --git a/scripts/security/khandroma_tunnels.sh b/scripts/customize/fred/scripts/jobby/khandroma_tunnels.sh similarity index 100% rename from scripts/security/khandroma_tunnels.sh rename to scripts/customize/fred/scripts/jobby/khandroma_tunnels.sh diff --git a/scripts/customize/fred/scripts/jobby/proxy_hookup_uva.sh b/scripts/customize/fred/scripts/jobby/proxy_hookup_uva.sh new file mode 100644 index 00000000..503bee0a --- /dev/null +++ b/scripts/customize/fred/scripts/jobby/proxy_hookup_uva.sh @@ -0,0 +1,9 @@ + +# this script should be source'd to get these variables set, +# and additionally the tunnel across the mac laptop needs to be running. + +export http_proxy="socks5://localhost:14420" +export https_proxy="socks5://localhost:14420" + + + diff --git a/scripts/security/uva_web_proxy.sh b/scripts/customize/fred/scripts/jobby/uva_web_proxy.sh similarity index 92% rename from scripts/security/uva_web_proxy.sh rename to scripts/customize/fred/scripts/jobby/uva_web_proxy.sh index f3de338b..1485e0e4 100644 --- a/scripts/security/uva_web_proxy.sh +++ b/scripts/customize/fred/scripts/jobby/uva_web_proxy.sh @@ -11,7 +11,9 @@ #hmmm: none of the user info below will work for others: parameterize it. #ssh_host=khandroma.cs.virginia.edu -ssh_host=mason.cs.virginia.edu +#ssh_host=mason.cs.virginia.edu +ssh_host=clambook.gruntose.blurgh +username=cak0l soundfile=$FEISTY_MEOW_APEX/infobase/sounds/woouoo.wav if [ ! -z "$1" ]; then @@ -20,7 +22,7 @@ fi while true; do 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 + ssh -2 -N -v -D localhost:14420 ${username}@${ssh_host} bash $FEISTY_MEOW_SCRIPTS/multimedia/sound_play.sh $soundfile 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." -- 2.34.1