text: TESTVAR=$(ssh root@$AWSMASTERIP -i /home/danielsc/.ssh/id_aws kubectl get pod 
  appmongo-ibm-mongodb-dev -o custom-columns=:{.status.phase} -n default 
  2>>/dev/null) 
  if [ $? -eq 0 ] 
   then 
   if [ $(cat /proc/"$(ssh -S /home/danielsc/mongo/mongoconnect -O check 
  localhost 2>&1 |cut -d= -f2 | sed 's/)//')"/cmdline|cut -d: -f2) == 
  "a1765d068fc8911e9b07106df2fba1c0-125393943.us-east-2.elb.amazonaws.com" ] 
   then 
   TESTVAR=$(echo -n $TESTVAR) 
   echo "Pod status is $TESTVAR" 
   echo "Tunnel already connected to AWS correctly" 
   else 
   ssh -S mongoconnect -O exit localhost 2>>/dev/null 