Add 'callhome.sh'
This commit is contained in:
parent
b971ec76a0
commit
305fa78714
13
callhome.sh
Normal file
13
callhome.sh
Normal file
@ -0,0 +1,13 @@
|
||||
#!/bin/sh
|
||||
|
||||
USER=
|
||||
HOST=
|
||||
|
||||
while true; do
|
||||
ssh -NC -o ServerAliveInterval=5 \
|
||||
-o UserKnownHostsFile=/dev/null \
|
||||
-o StrictHostKeyChecking=no \
|
||||
-R '<int IP>:50022:<rem IP>:22' \
|
||||
$USER@$HOST
|
||||
sleep 5
|
||||
done
|
Loading…
x
Reference in New Issue
Block a user