IT/Software/Applications/Remote Login/autossh
About
- Autossh is a program to start a copy of ssh and monitor it, restarting it as necessary should it die or stop passing traffic. [1]
Reliable Reverse ssh Tunnel
- You can put the following line in a cron script to run at bootup.
- In practice so long as your remote server has consistent power this is reliable way to insure remote access without a WAN IP.
autossh -M 20000 -f -N your_public_server -R 1234:localhost:22 -C
[2]
Sources