Add 'callhome.sh'
This commit is contained in:
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
|
Reference in New Issue
Block a user