2
votes
0answers
440 views

How to prevent autossh from becoming stuck once in a while?

I am using autossh to build a reverse ssh tunnel but from time to time the tunnel stops working and I need to kill autossh and start it again. /etc/cron.d/autossh @reboot autossh -f -nNT -R ...
0
votes
1answer
1k views

AutoSSH for a robust tunnel

I'm trying to start an ssh tunnel from A to B and have it run despite things like: period network/wifi drops on A and remote server reboot on B. My ssh tunnel starts using upstart script on A with ...