diff --git a/reverseSSHproxy.sh b/reverseSSHproxy.sh
index 0c9a0f6acc602e715a11485069f76bb5af4494ca..b073ff6bbc74e7f2906c7dc84da018eac4579b5c 100755
--- a/reverseSSHproxy.sh
+++ b/reverseSSHproxy.sh
@@ -4,7 +4,11 @@ SSHPORT_INT=2223
 SSHPORT=2222
 PROXY_HOST=aquila.tetras-libre.fr
 while true; do
+    set -x
     /usr/bin/ssh -i /root/.ssh/id_rsa -N -R ${HTTPS_PORT}:localhost:443 -R ${SSHPORT_INT}:localhost:22 -o "ExitOnForwardFailure yes" -o "StrictHostKeyChecking no" -o "ServerAliveInterval 60" sshuser@${PROXY_HOST} -p ${SSHPORT}
+    set +x
     echo "Ssh failed $?"
+    # just in case this is blocking
+    /usr/bin/ssh-keygen -f "/root/.ssh/known_hosts" -R "[aquila.tetras-libre.fr]:2222"
     sleep 5
-done
+done
\ No newline at end of file