From 305fa78714d6f534c5c0fbc42c9518850364cb41 Mon Sep 17 00:00:00 2001 From: Marcel Stangenberger Date: Sun, 18 Jun 2023 13:47:50 +0000 Subject: [PATCH] Add 'callhome.sh' --- callhome.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 callhome.sh diff --git a/callhome.sh b/callhome.sh new file mode 100644 index 0000000..1aa2cbf --- /dev/null +++ b/callhome.sh @@ -0,0 +1,13 @@ +#!/bin/sh + +USER= +HOST= + +while true; do + ssh -NC -o ServerAliveInterval=5 \ + -o UserKnownHostsFile=/dev/null \ + -o StrictHostKeyChecking=no \ + -R ':50022::22' \ + $USER@$HOST + sleep 5 +done \ No newline at end of file