From aeaa76f98c0d6a8617c06c38598ddc8cf664cae7 Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Tue, 31 Mar 2020 21:45:24 +0200 Subject: Remove checking for katrin.kit.edu ssh forwarding --- service/check_router.sh | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'service') diff --git a/service/check_router.sh b/service/check_router.sh index a5fb64d..f241f64 100755 --- a/service/check_router.sh +++ b/service/check_router.sh @@ -36,17 +36,17 @@ for c in "${www_checks[@]}"; do done # Katrin SSH forwaring -ret=$(echo "" | nc -N katrin.kit.edu 22) -if [ $? -ne 0 ]; then - echo "Error connecting katrin.kit.edu:22" - healthy=0 -else - echo $ret | grep SSH-2.0-OpenSSH_5.8 > /dev/null - if [ $? -ne 0 ]; then - echo "Unexpected SSH server listening on katrin.kit.edu:22. Banner: $ret" - healthy=0 - fi -fi +#ret=$(echo "" | nc -N katrin.kit.edu 22) +#if [ $? -ne 0 ]; then +# echo "Error connecting katrin.kit.edu:22" +# healthy=0 +#else +# echo $ret | grep SSH-2.0-OpenSSH_5.8 > /dev/null +# if [ $? -ne 0 ]; then +# echo "Unexpected SSH server listening on katrin.kit.edu:22. Banner: $ret" +# healthy=0 +# fi +#fi # VPN check ssh -xa darksoft.org ping -W 2 -c 2 192.168.31.1 &> /dev/null -- cgit v1.2.3