At host behind the firewall :
autossh -M 20000 -f user@remotehost -R 4567:localhost:22 -nN
At remotehost, will listen to port 4567.
To access the forwarded port , at the remote host :
> ssh user@localhost -p 5678
1. Need to be in front of the terminal. (Physically if not vm). 2. Reboot the server 3. Press 'e' in the GRUB2 boot screen. 3. bunch...