
_Identifier=1

_MonitorPorts=30000
_ConnectPorts=20000
_MonitorPorts=$[$_Identifier+$_MonitorPorts]
_ConnectPorts=$[$_Identifier+$_ConnectPorts]

/usr/sbin/sshd

sleep 5

nohup /usr/bin/autossh -M ${_MonitorPorts} -NR ${_ConnectPorts}:127.0.0.1:502 -o "ServerAliveInterval 60" -o "ServerAliveCountMax 3" root@182.92.241.86 & 

sleep 5


