Add this to /etc/rc.local
sudo /usr/bin/pkill -3 autossh
/usr/bin/autossh -N -f -M 10984 -i /root/.ssh/id_rsa -R 0.0.0.0:7022:0.0.0.0:22 myserver.com
-N do not open a shell.
-f go to background after run.
-M monitor port. Can be any random port number.