20 August 2015

ALSER

/usr/bin/tunel-alser.sh (755)

  #!/bin/bash
  /usr/bin/sleep 1      
  /usr/bin/autossh -M MONIT-PORT -q -f -N -o "ServerAliveInterval 60" -o "ServerAliveCountMax 3" -R LOCALPORT:localhost:ENDPOINTPORT -i /root/.ssh/id_rsa -p ENDPOINTPORT USERNAME@ENDPOINT

/etc/rc.d/rc.local (755)

#!/bin/bash      
/usr/bin/tunel-alser.sh